Class Recycler.LocalPoolHandle<T>
java.lang.Object
io.netty.util.Recycler.EnhancedHandle<T>
io.netty.util.Recycler.LocalPoolHandle<T>
- All Implemented Interfaces:
ObjectPool.Handle<T>, Recycler.Handle<T>
We created this handle to avoid having more than 2 concrete implementations of
Recycler.EnhancedHandle
i.e. NOOP_HANDLE, Recycler.DefaultHandle and the one used in the LocalPool.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidRecycle theObjectif possible and so make it ready to be reused.voidunguardedRecycle(java.lang.Object object) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
pool
-
-
Constructor Details
-
LocalPoolHandle
-
-
Method Details
-
recycle
Description copied from interface:ObjectPool.HandleRecycle theObjectif possible and so make it ready to be reused. -
unguardedRecycle
public void unguardedRecycle(java.lang.Object object) - Specified by:
unguardedRecyclein classRecycler.EnhancedHandle<T>
-