|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.jcs.engine.Attributes
Element attribute descriptor class.
| Field Summary | |
long |
createTime
Description of the Field |
long |
default_ttl
Description of the Field |
long |
idle
Description of the Field |
boolean |
IS_DISTRIBUTE
Description of the Field |
boolean |
IS_ETERNAL
Description of the Field |
boolean |
IS_GROUP_TTL_DESTROY
Description of the Field |
boolean |
IS_LATERAL
Description of the Field |
boolean |
IS_NOFLUSH
Description of the Field |
boolean |
IS_ORIGINAL
Description of the Field |
boolean |
IS_REMOTE
Description of the Field |
boolean |
IS_REPLY
Description of the Field |
boolean |
IS_SPOOL
Description of the Field |
boolean |
IS_SYNCHRONIZE
Description of the Field |
long |
lastAccess
Description of the Field |
int |
size
Description of the Field |
long |
ttl
Description of the Field |
long |
version
Description of the Field |
| Constructor Summary | |
|
Attributes()
Constructor for the Attributes object |
private |
Attributes(Attributes attr)
Constructor for the Attributes object |
| Method Summary | |
java.lang.Object |
clone2()
Description of the Method |
Attributes |
copy()
Description of the Method |
long |
getCreateTime()
Gets the createTime attribute of the Attributes object |
long |
getIdleTime()
Gets the idleTime attribute of the Attributes object |
int |
getSize()
Gets the size attribute of the Attributes object |
long |
getTimeToLive()
Gets the timeToLive attribute of the Attributes object. |
long |
getVersion()
Gets the version attribute of the Attributes object |
void |
setCreateTime()
Sets the createTime attribute of the Attributes object |
void |
setIdleTime(long idle)
Sets the idleTime attribute of the Attributes object |
void |
setSize(int size)
Size in bytes. |
void |
setTimeToLive(long ttl)
Sets the timeToLive attribute of the Attributes object |
void |
setVersion(long version)
Sets the version attribute of the Attributes object |
java.lang.String |
toString()
Description of the Method |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public boolean IS_DISTRIBUTE
public boolean IS_LATERAL
public boolean IS_NOFLUSH
public boolean IS_REPLY
public boolean IS_SYNCHRONIZE
public boolean IS_SPOOL
public boolean IS_GROUP_TTL_DESTROY
public boolean IS_ORIGINAL
public boolean IS_REMOTE
public boolean IS_ETERNAL
public long version
public long ttl
public long default_ttl
public long idle
public long lastAccess
public int size
public long createTime
| Constructor Detail |
public Attributes()
private Attributes(Attributes attr)
attr - | Method Detail |
public Attributes copy()
public java.lang.Object clone2()
public void setVersion(long version)
setVersion in interface IAttributesversion - The new version valuepublic void setTimeToLive(long ttl)
setTimeToLive in interface IAttributesttl - The new timeToLive valuepublic void setIdleTime(long idle)
setIdleTime in interface IAttributesidle - The new idleTime valuepublic void setSize(int size)
setSize in interface IAttributessize - The new size valuepublic int getSize()
getSize in interface IAttributespublic long getCreateTime()
getCreateTime in interface IAttributespublic void setCreateTime()
public long getVersion()
getVersion in interface IAttributespublic long getIdleTime()
getIdleTime in interface IAttributespublic long getTimeToLive()
getTimeToLive in interface IAttributespublic java.lang.String toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||