|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.mbari.siam.distributed.leasing.LeaseDescription
public class LeaseDescription
| Field Summary | |
|---|---|
byte[] |
_clientNote
Client notation. |
long |
_currentTimeMsec
Poll current system time. |
long |
_durationMsec
Lease duration. |
long |
_establishMsec
Time at which lease was established/renewed. |
int |
_id
Lease ID. |
long |
_renewalCount
number or times lease renewed |
long |
_renewalTime
Last lease renewal time |
int |
_type
LeaseDescription.COMMS_LEASE or LeaseDescription.CPU_LEASE |
static int |
COMMS_LEASE
|
static int |
CPU_LEASE
|
| Constructor Summary | |
|---|---|
LeaseDescription()
|
|
| Method Summary | |
|---|---|
long |
timeRemaining()
Time remaining before lease expires. |
java.lang.String |
toString()
Print out on screen the following items. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int COMMS_LEASE
public static final int CPU_LEASE
public int _id
public long _establishMsec
public long _durationMsec
public long _currentTimeMsec
public long _renewalTime
public long _renewalCount
public byte[] _clientNote
public int _type
| Constructor Detail |
|---|
public LeaseDescription()
| Method Detail |
|---|
public long timeRemaining()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||