|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectParameterNoticeBoard.StatusTime
class StatusTime
Used to hold the temporal information relating to status information which was written into the noticeboard. It tracks the time that the item was written into the noticeboard and also the time at which the status value is expected to expire after the status value has been updated
Field Summary | |
---|---|
int |
ExpiryTime
The delay expressed in milli-seconds after which the status value is considered to be out of date. |
private java.util.Date |
StatusLastUpdateTime
|
private static int |
STATUSNEVEREXPIRES
Constant which reflects that the status will never expire |
Constructor Summary | |
---|---|
StatusTime()
Default constructor |
|
StatusTime(int ExpiryTime)
Constructor which sets the expiry time to the value which is specified in millisecs since Jan 1st 1970 |
Method Summary | |
---|---|
(package private) void |
resetStatusUpdateTime()
Resets the status update time to now |
(package private) boolean |
statusValueExpired()
Tests whether this status item has expired or not |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final int STATUSNEVEREXPIRES
private java.util.Date StatusLastUpdateTime
public int ExpiryTime
Constructor Detail |
---|
StatusTime(int ExpiryTime)
StatusTime()
Method Detail |
---|
boolean statusValueExpired()
void resetStatusUpdateTime()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |