| Access | Constructor and Description |
|---|---|
| public | BoundedPool(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 BoundedPool 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. |
| BoundedPool | back to summary |
|---|---|
| public BoundedPool(long maximumPoolSize, PoolEvictor<T extends PoolParticipant> evictor, SizeOfEngine defaultSizeOfEngine) Create a BoundedPool 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.
| |