API Overview
API Index
Package Overview
Direct link to this page
JDK 1.6
java.rmi.dgc.
Lease
View Source
Author(s)
Since
Version
Serial
Hierarchy
Object
Lease
Implements
Serializable
Subclasses
See DIRECT subclasses
Quick Links:
Constructors
Methods
Fields
NestedClasses
Description
public
final
class Lease
A lease contains a unique VM identifier and a lease duration.
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.
See also:
Constructors
public
Lease
(
VMID
id,
long
duration)
Constructs a lease with a specific VMID and lease 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
Methods
Hide/Show inherited methods
public
long
getValue
()
Returns the lease duration.
Returns the lease duration.
Returns:
lease duration
public
VMID
getVMID
()
Returns the client VMID associated with the lease.
Returns the client VMID associated with the lease.
Returns:
client VMID
Fields
Hide/Show inherited fields
Nested Classes
Generated By:
JavaOnTracks Doclet
0.1.4 ©Thibaut Colar