org.ehcache.config
Interface SizedResourcePool

All Superinterfaces:
ResourcePool

public interface SizedResourcePool
extends ResourcePool

A ResourcePool that is explicitly sized.


Method Summary
 long getSize()
          Gets the size of this pool.
 ResourceUnit getUnit()
          Gets the unit in which the resource is sized.
 
Methods inherited from interface org.ehcache.config.ResourcePool
getType, isPersistent, validateUpdate
 

Method Detail

getSize

long getSize()
Gets the size of this pool.

Returns:
the size

getUnit

ResourceUnit getUnit()
Gets the unit in which the resource is sized.

Returns:
the size unit