Package org.ehcache.config
Interface SizedResourcePool
-
- All Superinterfaces:
ResourcePool
public interface SizedResourcePool extends ResourcePool
AResourcePoolthat is explicitly sized.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetSize()Gets the size of this pool.ResourceUnitgetUnit()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
-
-