Top Description Interfaces Classes
[default module]

Package net.sf.ehcache.pool


This package contains the interfaces concerning the resource pooling facilities.

Interface Summary

Modifier and TypeInterface and Description
public interface
Pool

Pools are used to track shared resource consumption.

public interface
PoolAccessor<
Type representing this "other" side of this accessor (i.e. a store), so the evictor can interact with it
T extends PoolParticipant
>

PoolAccessors are used by stores to tell the pools about their resource consumption

public interface
PoolEvictor<
The type of the resources to free space on.
T extends PoolParticipant
>

PoolEvictors are responsible for finding the best candidates in a collection of resources using a shared resource pool and performing eviction on them.

public interface
PoolParticipant

A poolable store reports its resource usage to a Pool.

public interface
SizeOfEngine

SizeOf engines are used to calculate the size of elements stored in poolable stores.

public interface

Class Summary

Modifier and TypeClass and Description
public class
Size

Holder for the size calculated by the SizeOf engine

public class