Package io.netty.util

Class Recycler.DefaultHandle<T>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void recycle​(java.lang.Object object)
      Recycle the Object if possible and so make it ready to be reused.
      • Methods inherited from class java.lang.Object

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

      • lastRecycledId

        int lastRecycledId
      • recycleId

        int recycleId
      • hasBeenRecycled

        boolean hasBeenRecycled
      • value

        java.lang.Object value
    • Method Detail

      • recycle

        public void recycle​(java.lang.Object object)
        Description copied from interface: ObjectPool.Handle
        Recycle the Object if possible and so make it ready to be reused.
        Specified by:
        recycle in interface ObjectPool.Handle<T>