org.sandev.basics.structs
Class CacheItemSummaryStruct

java.lang.Object
  extended by org.sandev.basics.structs.CacheItemSummaryStruct
Direct Known Subclasses:
CacheItemSummary

public class CacheItemSummaryStruct
extends java.lang.Object

An identifying summary of cached SandPersistMessage. This exists primarily so it is possible for cache statistics to display information about a SandPersistMessage without actually referencing it. This is important because otherwise the display process would access the cache, possibly disturbing the access times of the items being displayed. This display class helps avoid these Heisenberg situations.

summary fields: classname uniqueID size lastAccessedTime
This message has the following verb forms: query collection
declared printname: Cache Item Summary
help text: An identifying summary of cached SandPersistMessage.

Field Summary
protected  java.lang.String classname
          The short classname of the cached message.
protected  java.util.Date lastAccessedTime
          The time this instance was last accessed.
protected  int size
          The estimated total size in bytes of this instance.
protected  long uniqueID
          The uniqueID of the cached message.
 
Constructor Summary
CacheItemSummaryStruct()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

classname

protected java.lang.String classname
The short classname of the cached message.

declared invalid value: "SANDEV_INVALID_CLASSNAME"
Length in characters, normal: 40 max: 80
help text: The short classname of the cached message.

uniqueID

protected long uniqueID
The uniqueID of the cached message.

help text: The uniqueID of the cached message.

size

protected int size
The estimated total size in bytes of this instance.

help text: The estimated total size in bytes of this instance.

lastAccessedTime

protected java.util.Date lastAccessedTime
The time this instance was last accessed.

declared printname: last accessed
help text: The time this instance was last accessed.
Constructor Detail

CacheItemSummaryStruct

public CacheItemSummaryStruct()