Package | Description |
---|---|
com.sun.jini.norm |
Provides implementations of
LeaseRenewalService . |
Modifier and Type | Field and Description |
---|---|
private ClientLeaseWrapper |
LRMEventListener.Discriminator.clw
The wrapped leases associated with the event
|
private ClientLeaseWrapper |
LeaseSet.UpdateClientLease.clw
Wrapped version of client lease
|
private ClientLeaseWrapper |
LeaseSet.RemoveClientLease.clw
Client lease to be removed
|
private ClientLeaseWrapper |
ClientLeaseMapWrapper.example
Retain initial wrapper so canContainKey can use it to determine if
a specified lease may be added.
|
private ClientLeaseWrapper |
ClientLeaseMapWrapper.Entry.key
The key
|
Modifier and Type | Method and Description |
---|---|
(package private) ClientLeaseWrapper |
LeaseTable.get(Lease clientLease)
Find the client lease wrapper associated with the passed lease.
|
(package private) ClientLeaseWrapper |
LeaseSet.getClientLeaseWrapper(Lease clientLease)
Return the wrapper for the specified client lease, or null if not
found.
|
(package private) ClientLeaseWrapper |
DeformedLeaseList.query(Lease clientLease,
Map table)
Query the list to see if the specified client lease is in this list
of deformed leases.
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
DeformedLeaseList.add(ClientLeaseWrapper clw)
Add a wrapped client lease to the list of deformed client leases.
|
(package private) void |
LeaseSet.addToLeaseTable(ClientLeaseWrapper clw)
Add a lease already in the lease set to the lease table.
|
(package private) void |
NormServerBaseImpl.desiredExpirationReached(ClientLeaseWrapper clw)
Remove a lease that has reached its desired expiration.
|
(package private) boolean |
LeaseSet.doesContainWrapper(ClientLeaseWrapper clw)
Return true if the passed wrapper is in the set
|
(package private) void |
LeaseSet.logRenewal(ClientLeaseWrapper clw)
Log the renewal of a client lease.
|
(package private) void |
LeaseTable.put(ClientLeaseWrapper clw)
Add a mapping from lease wrapper to client lease.
|
(package private) void |
LeaseTable.remove(ClientLeaseWrapper clw)
Remove a lease from the table.
|
(package private) boolean |
LeaseSet.remove(ClientLeaseWrapper clw)
Remove the specified wrapped client lease from the set.
|
(package private) void |
DeformedLeaseList.remove(ClientLeaseWrapper clw)
Remove a lease from the list.
|
private boolean |
LeaseSet.removeInternal(ClientLeaseWrapper clw)
Utility method to remove a client lease.
|
(package private) void |
NormServerBaseImpl.renewalFailure(ClientLeaseWrapper clw)
Handle failures to renew a lease by removing the lease from its set
and if needed schedule sending an event.
|
(package private) void |
LeaseSet.renewalFailure(ClientLeaseWrapper clw)
Handle failures to renew a lease by removing the lease from the set
and if needed schedule sending an event.
|
private boolean |
LeaseSet.replace(ClientLeaseWrapper clw)
Utility method to replace a client lease in the lease set.
|
(package private) void |
LeaseSet.update(ClientLeaseWrapper clw)
Add or update the specified wrapped client lease to the set.
|
Constructor and Description |
---|
ClientLeaseMapWrapper.Entry(ClientLeaseWrapper key) |
ClientLeaseMapWrapper(ClientLeaseWrapper wrapper,
long duration)
Create a ClientLeaseMapWrapper object that will hold
the specified client Lease.
|
DeformedClientLeaseMapWrapper(ClientLeaseWrapper lease,
long duration)
Create a DeformedClientLeaseMapWrapper.
|
LeaseSet.RemoveClientLease(LeaseSet set,
ClientLeaseWrapper clw)
Simple constructor
|
LeaseSet.RenewalFailure(LeaseSet set,
ClientLeaseWrapper clw,
long evID)
Simple constructor
|
LeaseSet.UpdateClientLease(LeaseSet set,
ClientLeaseWrapper clw)
Simple constructor
|
LRMEventListener.Discriminator(ClientLeaseWrapper clw,
boolean isFailure) |
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.