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(Object object)
-
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
- Specified by:
unguardedRecyclein classRecycler.EnhancedHandle<T>
-