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 pooledObjectthat will be used to notify theObjectPoolonce it can reuse the pooledObjectagain.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrecycle(T self)Recycle theObjectif possible and so make it ready to be reused.
-
-
-
Method Detail
-
recycle
void recycle(T self)
Recycle theObjectif possible and so make it ready to be reused.
-
-