Package | Description |
---|---|
net.jini.lease |
Standard service and utility classes for managing leases.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DesiredExpirationListener
Subinterface of
LeaseListener that clients must
implement if they want to receive desired expiration reached events
in addition to renewal failure events. |
Modifier and Type | Method and Description |
---|---|
void |
LeaseRenewalManager.renewFor(Lease lease,
long desiredDuration,
LeaseListener listener)
Include a lease in the managed set for a specified duration.
|
void |
LeaseRenewalManager.renewFor(Lease lease,
long desiredDuration,
long renewDuration,
LeaseListener listener)
Include a lease in the managed set for a specified duration and
with specified renewal duration.
|
void |
LeaseRenewalManager.renewUntil(Lease lease,
long desiredExpiration,
LeaseListener listener)
Include a lease in the managed set until a specified time.
|
void |
LeaseRenewalManager.renewUntil(Lease lease,
long desiredExpiration,
long renewDuration,
LeaseListener listener)
Include a lease in the managed set until a specified time and
with a specified renewal duration.
|
Constructor and Description |
---|
LeaseRenewalManager(Lease lease,
long desiredExpiration,
LeaseListener listener)
Constructs an instance of this class that will initially manage a
single lease.
|
Copyright © 2016–2018. All rights reserved.