Modifier and Type | Field and Description |
---|---|
private long |
expirationTime
The expiration time in milliseconds since the beginning of the
epoch
|
private static long |
serialVersionUID |
Modifier | Constructor and Description |
---|---|
private |
LeaseSet.ExpirationTime(long initVal)
Simple constructor
|
Modifier and Type | Method and Description |
---|---|
private boolean |
ensureCurrent(long now)
Return true if expiration time has not been reached
|
private void |
set(long newTime)
Update the current expiration time
|
private static final long serialVersionUID
private long expirationTime
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.