| Access | Constructor and Description |
|---|---|
| public | StrictlyBoundedPool(long
the maximum size of the pool, in bytes. maximumPoolSize, PoolEvictor<T extends PoolParticipant> the pool evictor, for cross-store eviction. evictor, SizeOfEngine the default SizeOf engine used by the accessors. defaultSizeOfEngine)Create a StrictlyBoundedPool instance |
| Modifier and Type | Method and Description |
|---|---|
| public PoolAccessor | createPoolAccessor(PoolParticipant
the participant which will use the created accessor. participant, SizeOfEngine the SizeOf engine used to measure the size of objects added through the created accessor. sizeOfEngine)Implements net. |
| StrictlyBoundedPool | back to summary |
|---|---|
| public StrictlyBoundedPool(long maximumPoolSize, PoolEvictor<T extends PoolParticipant> evictor, SizeOfEngine defaultSizeOfEngine) Create a StrictlyBoundedPool instance
| |
| createPoolAccessor | back to summary |
|---|---|
| public PoolAccessor Implements net. Doc from net. Return a PoolAccessor whose consumption is tracked by this pool, using a specific SizeOf engine.
| |