Package io.netty.util.internal
Interface ObjectPool.Handle<T>
-
- Type Parameters:
T
-
- All Known Subinterfaces:
Recycler.Handle<T>
- All Known Implementing Classes:
Recycler.EnhancedHandle
- Enclosing class:
- ObjectPool<T>
public static interface ObjectPool.Handle<T>
Handle for an pooledObject
that will be used to notify theObjectPool
once it can reuse the pooledObject
again.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
recycle(T self)
Recycle theObject
if possible and so make it ready to be reused.
-
-
-
Method Detail
-
recycle
void recycle(T self)
Recycle theObject
if possible and so make it ready to be reused.
-
-