org.apache.jcs.engine.behavior
Interface IAttributes

All Known Implementing Classes:
Attributes

public interface IAttributes

Description of the Interface

Author:
asmuts

Method Summary
 long getCreateTime()
          Gets the createTime attribute of the IAttributes object
 long getIdleTime()
          Gets the idleTime attribute of the IAttributes object
 int getSize()
          Gets the size attribute of the IAttributes object
 long getTimeToLive()
          Gets the timeToLive attribute of the IAttributes object
 long getVersion()
          Gets the version attribute of the IAttributes object
 void setIdleTime(long idle)
          Sets the idleTime attribute of the IAttributes object
 void setSize(int size)
          Size in bytes.
 void setTimeToLive(long ttl)
          Sets the timeToLive attribute of the IAttributes object
 void setVersion(long version)
          Sets the version attribute of the IAttributes object
 

Method Detail

setVersion

public void setVersion(long version)
Sets the version attribute of the IAttributes object

Parameters:
version - The new version value

setTimeToLive

public void setTimeToLive(long ttl)
Sets the timeToLive attribute of the IAttributes object

Parameters:
ttl - The new timeToLive value

setIdleTime

public void setIdleTime(long idle)
Sets the idleTime attribute of the IAttributes object

Parameters:
idle - The new idleTime value

setSize

public void setSize(int size)
Size in bytes.

Parameters:
size - The new size value

getSize

public int getSize()
Gets the size attribute of the IAttributes object

Returns:
The size value

getCreateTime

public long getCreateTime()
Gets the createTime attribute of the IAttributes object

Returns:
The createTime value

getVersion

public long getVersion()
Gets the version attribute of the IAttributes object

Returns:
The version value

getIdleTime

public long getIdleTime()
Gets the idleTime attribute of the IAttributes object

Returns:
The idleTime value

getTimeToLive

public long getTimeToLive()
Gets the timeToLive attribute of the IAttributes object

Returns:
The timeToLive value