org.sandev.basics.structs
Class CacheStatsStruct

java.lang.Object
  extended by org.sandev.basics.structs.CacheStatsStruct
Direct Known Subclasses:
CacheStats

public class CacheStatsStruct
extends java.lang.Object

General statistics message produced for a cache.

summary fields: totalMemory totalObjects oldestAccess
This message has the following verb forms: query collection
declared printname: Cache Statistics
help text: General statistics message produced for a cache.

Field Summary
protected  CacheMemSummaryStruct[] items
          The summary cache items by class.
protected  CacheItemSummaryStruct[] oldest
          The oldest messages in the cache.
protected  java.util.Date oldestAccess
          The last access time of the oldest object in the cache.
protected  double totalMemory
          The total amount of memory in megabytes used by the cache.
protected  int totalObjects
          The total number of cached objects in the cache.
 
Constructor Summary
CacheStatsStruct()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

totalMemory

protected double totalMemory
The total amount of memory in megabytes used by the cache.

range match expression: >= 0
declared metatype: megabytes
declared printname: total memory
help text: The total amount of memory in megabytes used by the cache.

totalObjects

protected int totalObjects
The total number of cached objects in the cache.

range match expression: >= 0
declared printname: object count
help text: The total number of cached objects in the cache.

items

protected CacheMemSummaryStruct[] items
The summary cache items by class.


oldestAccess

protected java.util.Date oldestAccess
The last access time of the oldest object in the cache.

declared printname: oldest access
help text: The last access time of the oldest object in the cache.

oldest

protected CacheItemSummaryStruct[] oldest
The oldest messages in the cache.

Constructor Detail

CacheStatsStruct

public CacheStatsStruct()