|
Oracle Application Server 10g Java Object Cache API Reference 10g(9.0.4) B10388-01 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.ias.cache.AggregateStatus
The AggregateStatus class provides an encapsulation of the aggregate runtime status for objects in the cache. The low, average, and high values are calculated for each region and group in the cache, as well as for the entire cache. The status is accessible from the CacheAccess.getAggregateStatus and is available to the CapacityPolicy.policy method.
CacheAccess
, CapacityPolicy
, ObjectStatus
Field Summary | |
static int |
AVG index for the average value for the indicated statistic in the cache, group or region |
static int |
HIGH index for the high value for the indicated statistic in the cache, group or region |
static int |
LOW index for the low value for the indicated statistic in the cache, group or region |
Method Summary | |
long |
getAccessCount(int index) returns the aggregate access count value indicated by the index parameter The getAccessCount Method will return the aggregate value of access count for the group or region. |
long |
getCreateTime(int index) returns the aggregate create time value indicated by the index parameter The getCreateTime Method will return the aggregate value of create time for the group or region. |
long |
getLastAccessTime(int index) returns the aggregate last access time value indicated by the index parameter The getLastAccessTime Method will return the aggregate value of last access time for the group or region. |
long |
getLoadTime(int index) returns the aggregate load time value indicated by the index parameter The getLoadTime Method will return the aggregate value of load time for the group or region. |
int |
getObjectCount() returns the current total count of objects for this cache, group, or region including objects in nested groups and subRegions |
long |
getPriority(int index) returns the aggregate priority value indicated by the index parameter. |
long |
getSize(int index) returns the aggregate object size value indicated by the index parameter The getSize Method will return the aggregate value of object size for the group or region. |
java.lang.String |
toString() |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int LOW
public static final int AVG
public static final int HIGH
Method Detail |
public long getPriority(int index)
The getPriority Method will return the aggregate value of priority for the group or region. The values available are the high, low or average.
index
- the aggregate type index LOW
, AVG
, or HIGH
public long getAccessCount(int index)
The getAccessCount Method will return the aggregate value of access count for the group or region. The values available are the high, low or average.
index
- the aggregate type index LOW
, AVG
, or HIGH
public long getSize(int index)
The getSize Method will return the aggregate value of object size for the group or region. The values available are the high, low or average.
index
- the aggregate type index LOW
, AVG
, or HIGH
public long getLastAccessTime(int index)
The getLastAccessTime Method will return the aggregate value of last access time for the group or region. The values available are the high, low or average.
index
- the aggregate type index LOW
, AVG
, or HIGH
public long getLoadTime(int index)
The getLoadTime Method will return the aggregate value of load time for the group or region. The values available are the high, low or average.
index
- the aggregate type index LOW
, AVG
, or HIGH
public long getCreateTime(int index)
public int getObjectCount()
public java.lang.String toString()
toString
in class java.lang.Object
|
Oracle Application Server 10g Java Object Cache API Reference 10g(9.0.4) B10388-01 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |