|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.isti.util.IstiTimeObjectCache.BasicTimeObjectEntry
public static class IstiTimeObjectCache.BasicTimeObjectEntry
Basic time object entry.
| Field Summary | |
|---|---|
protected java.lang.Object |
dataObj
|
protected int |
dataSize
|
protected java.lang.String |
keyStr
|
protected long |
timeGenerated
|
| Constructor Summary | |
|---|---|
protected |
IstiTimeObjectCache.BasicTimeObjectEntry()
No-argument constructor for subclasses. |
|
IstiTimeObjectCache.BasicTimeObjectEntry(long timeGenerated,
java.lang.Object dataObj,
java.lang.String keyStr)
Creates a message object cache entry. |
| Method Summary | |
|---|---|
java.lang.Object |
getDataObj()
Returns the data object. |
int |
getDataSize()
Returns the data size for the entry object. |
java.lang.String |
getKeyStr()
Returns the key string. |
long |
getTimeGenerated()
Returns the time the object was generated. |
void |
setDataSize(int val)
Sets the data size for the entry object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected long timeGenerated
protected java.lang.Object dataObj
protected java.lang.String keyStr
protected int dataSize
| Constructor Detail |
|---|
public IstiTimeObjectCache.BasicTimeObjectEntry(long timeGenerated,
java.lang.Object dataObj,
java.lang.String keyStr)
timeGenerated - the time the message was generated.dataObj - data object.keyStr - key string (to be used as a lookup key into the cache).protected IstiTimeObjectCache.BasicTimeObjectEntry()
| Method Detail |
|---|
public long getTimeGenerated()
getTimeGenerated in interface IstiTimeObjectCache.TimeObjectEntrypublic java.lang.Object getDataObj()
getDataObj in interface IstiTimeObjectCache.TimeObjectEntrypublic java.lang.String getKeyStr()
getKeyStr in interface IstiTimeObjectCache.TimeObjectEntrypublic void setDataSize(int val)
val - the data size value to use.public int getDataSize()
getDataSize in interface IstiTimeObjectCache.TimeObjectEntry
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||