Class ObjectPool<T>

java.lang.Object
io.netty.util.internal.ObjectPool<T>
Type Parameters:
T - the type of the pooled object
Direct Known Subclasses:
ObjectPool.RecyclerObjectPool

public abstract class ObjectPool<T> extends java.lang.Object
Light-weight object pool.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static interface 
    Handle for an pooled Object that will be used to notify the ObjectPool once it can reuse the pooled Object again.
    static interface 
    Deprecated.
    For removal.
    private static final class 
    Deprecated.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract T
    get()
    Deprecated.
    For removal.
    static <T> ObjectPool<T>
    Deprecated.
    For removal.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait