This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
java.rmi.dgc
class Lease
- All Implemented Interfaces:
- Serializable
public final class Lease
extends Object
implements Serializable
A lease contains a unique VM identifier and a lease duration. A
Lease object is used to request and grant leases to remote object
references.
Constructor Summary |
Constructs a lease with a specific VMID and lease duration.
|
Method Summary |
long |
Returns the lease duration.
|
VMID |
Returns the client VMID associated with the lease.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Lease
public Lease(VMID id,
long duration)
-
Constructs a lease with a specific VMID and lease duration. The
vmid may be null.
- Parameters:
id
- VMID associated with this lease
duration
- lease duration
getValue
public long getValue()
-
Returns the lease duration.
- Returns:
- lease duration
getVMID
public VMID getVMID()
-
Returns the client VMID associated with the lease.
- Returns:
- client VMID
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.