|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ehcache.core.config.ResourcePoolImpl
public class ResourcePoolImpl
Constructor Summary | |
---|---|
ResourcePoolImpl(ResourceType type,
long size,
ResourceUnit unit,
boolean persistent)
|
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 |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ResourcePoolImpl(ResourceType type, long size, ResourceUnit unit, boolean persistent)
Method Detail |
---|
public ResourceType getType()
ResourcePool
getType
in interface ResourcePool
public long getSize()
ResourcePool
getSize
in interface ResourcePool
public ResourceUnit getUnit()
ResourcePool
getUnit
in interface ResourcePool
public boolean isPersistent()
ResourcePool
isPersistent
in interface ResourcePool
true
, if persistentpublic java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |