Interface PooledObject<T>

Type Parameters:
T - the type of object in the pool.
All Superinterfaces:
Comparable<PooledObject<T>>
All Known Implementing Classes:
DefaultPooledObject, PooledSoftReference

public interface PooledObject<T> extends Comparable<PooledObject<T>>
Defines the wrapper that is used to track the additional information, such as state, for the pooled objects.

Implementations of this class are required to be thread-safe.

Since:
2.0