org.ehcache.config
Interface ResourcePool


public interface ResourcePool


Method Summary
 long getSize()
          Get the value measuring the pool size.
 ResourceType getType()
          Get the type of the tracked resource.
 ResourceUnit getUnit()
          Get the unit in which the resource is measured.
 boolean isPersistent()
          Whether the underlying resource is persistent
 

Method Detail

getType

ResourceType getType()
Get the type of the tracked resource.

Returns:
the type.

getSize

long getSize()
Get the value measuring the pool size.

Returns:
the value.

getUnit

ResourceUnit getUnit()
Get the unit in which the resource is measured.

Returns:
the unit.

isPersistent

boolean isPersistent()
Whether the underlying resource is persistent

Returns:
true, if persistent