-
- All Known Implementing Classes:
Pool.Impl
public interface Pool<T>Pool of reusable objects that are indistinguishable from each other, such as JAXB marshallers.- Author:
- Kohsuke Kawaguchi
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classPool.Impl<T>Default implementation that usesConcurrentLinkedQueueas the data store.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrecycle(T t)Returns an object back to the pool.Ttake()Gets a new object from the pool.
-