Class RecycleHandler<T extends org.apache.hugegraph.computer.core.allocator.Recyclable>

  • All Implemented Interfaces:
    org.apache.hugegraph.computer.core.allocator.RecyclerReference.Handle<org.apache.hugegraph.computer.core.allocator.RecyclerReference<T>>

    public class RecycleHandler<T extends org.apache.hugegraph.computer.core.allocator.Recyclable>
    extends java.lang.Object
    implements org.apache.hugegraph.computer.core.allocator.RecyclerReference.Handle<org.apache.hugegraph.computer.core.allocator.RecyclerReference<T>>
    • Constructor Summary

      Constructors 
      Constructor Description
      RecycleHandler​(io.netty.util.Recycler.Handle<org.apache.hugegraph.computer.core.allocator.RecyclerReference<T>> handle)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void recycle​(org.apache.hugegraph.computer.core.allocator.RecyclerReference<T> object)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • RecycleHandler

        public RecycleHandler​(io.netty.util.Recycler.Handle<org.apache.hugegraph.computer.core.allocator.RecyclerReference<T>> handle)
    • Method Detail

      • recycle

        public void recycle​(org.apache.hugegraph.computer.core.allocator.RecyclerReference<T> object)
        Specified by:
        recycle in interface org.apache.hugegraph.computer.core.allocator.RecyclerReference.Handle<T extends org.apache.hugegraph.computer.core.allocator.Recyclable>