- java.lang.Object
-
- com.sun.istack.Pool.Impl<T>
-
- All Implemented Interfaces:
Pool<T>
public abstract static class Pool.Impl<T> extends Object implements Pool<T>
Default implementation that usesConcurrentLinkedQueueas the data store.Note for Implementors
Don't rely on the fact that this class extends from
ConcurrentLinkedQueue.
-
-
Constructor Summary
Constructors Constructor Description Impl()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract Tcreate()Creates a new instance of object.voidrecycle(T t)Returns an object back to the pool.Ttake()Gets a new object from the pool.
-