Package com.liferay.petra.memory
Class SoftReferencePool<V,P>
java.lang.Object
com.liferay.petra.memory.SoftReferencePool<V,P>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSoftReferencePool(PoolAction<V, P> poolAction) SoftReferencePool(PoolAction<V, P> poolAction, int maxIdleSize) SoftReferencePool(PoolAction<V, P> poolAction, int maxIdleSize, boolean useWeakCounter) -
Method Summary
-
Field Details
-
DEFAULT_IDLE_SIZE
public static final int DEFAULT_IDLE_SIZE- See Also:
-
-
Constructor Details
-
SoftReferencePool
-
SoftReferencePool
-
SoftReferencePool
-
-
Method Details
-
borrowObject
-
returnObject
-