Package io.netty.util.internal
Interface ObjectPool.Handle<T>
- Type Parameters:
T
-
- All Known Subinterfaces:
Recycler.Handle<T>
- All Known Implementing Classes:
Recycler.DefaultHandle
,Recycler.EnhancedHandle
- Enclosing class:
ObjectPool<T>
public static interface ObjectPool.Handle<T>
Handle for an pooled
Object
that will be used to notify the ObjectPool
once it can
reuse the pooled Object
again.-
Method Summary
-
Method Details
-
recycle
Recycle theObject
if possible and so make it ready to be reused.
-