|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.jini.norm.LeaseSet.ExpirationTime
private static class LeaseSet.ExpirationTime
Utility class that holds and guards the second copy of our expiration time.
Field Summary | |
---|---|
private long |
expirationTime
The expiration time in milliseconds since the beginning of the epoch |
private static long |
serialVersionUID
|
Constructor Summary | |
---|---|
private |
LeaseSet.ExpirationTime(long initVal)
Simple constructor |
Method Summary | |
---|---|
private boolean |
ensureCurrent(long now)
Return true if expiration time has not been reached |
private void |
set(long newTime)
Update the current expiration time |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final long serialVersionUID
private long expirationTime
Constructor Detail |
---|
private LeaseSet.ExpirationTime(long initVal)
Method Detail |
---|
private void set(long newTime)
private boolean ensureCurrent(long now)
now
- the current time in milliseconds since the beginning of
the epoch
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |