Package | Description |
---|---|
com.sun.jini.norm |
Provides implementations of
LeaseRenewalService . |
Modifier and Type | Field and Description |
---|---|
private LeaseSet |
NormServerBaseImpl.SendMonitorImpl.set
Set this is the monitor for
|
private LeaseSet |
LeaseExpirationMgr.Expiration.set |
private LeaseSet |
CreateLeaseSet.set
A copy of the set that was created
|
private LeaseSet |
ClientLeaseWrapper.set
The LeaseSet we belong to
|
Modifier and Type | Method and Description |
---|---|
(package private) LeaseSet |
ClientLeaseWrapper.getLeaseSet()
The
LeaseSet this lease is in |
private LeaseSet |
NormServerBaseImpl.getSet(Uuid id)
Return the set with the specified id, or throw a
NoSuchObjectException, wrapped in a ThrowThis if the set can't be found
|
protected LeaseSet |
LeaseExpirationMgr.MgrTask.removeOurTicket()
Removes this task's ticket from the ticket map iff this
task's ticket is in the map.
|
Modifier and Type | Method and Description |
---|---|
private void |
NormServerBaseImpl.add(LeaseSet set,
Lease leaseToRenew,
long membershipDuration,
long renewDuration)
Add the lease to the set.
|
(package private) abstract void |
LeaseSetOperation.apply(LeaseSet set)
Update the state of the passed
LeaseSet to reflect the
state of the server after this operation was performed. |
(package private) void |
LeaseSet.ChangeSetExpiration.apply(LeaseSet set) |
(package private) void |
LeaseSet.UpdateClientLease.apply(LeaseSet set) |
(package private) void |
LeaseSet.RemoveClientLease.apply(LeaseSet set) |
(package private) void |
LeaseSet.RenewalFailure.apply(LeaseSet set) |
(package private) void |
LeaseSet.WarningEventRegistration.apply(LeaseSet set) |
(package private) void |
LeaseSet.FailureEventRegistration.apply(LeaseSet set) |
private static void |
NormServerBaseImpl.ensureCurrent(LeaseSet set)
Throw a NoSuchObjectException, wrapped in a ThrowThis, if the
passed set has expired.
|
(package private) void |
NormServerBaseImpl.expireIfTime(LeaseSet set)
Remote a set if its expiration time has been reached.
|
private static boolean |
NormServerBaseImpl.isCurrent(LeaseSet set)
Returns true if the lease on the lease set is still current, else
false.
|
(package private) SendMonitor |
NormServerBaseImpl.newSendMonitor(LeaseSet set)
Create a new
SendMonitorImpl |
(package private) SetProxy |
NormServerBaseImpl.newSetProxy(LeaseSet set)
Method used by
LeaseSet when it needs to cons up
a SetProxy with an up-to-date Lease. |
(package private) void |
ClientLeaseWrapper.recoverTransient(List renewedList,
UIDGenerator generator,
LeaseSet leaseSet,
ProxyPreparer recoveredLeasePreparer)
After recovering a lease wrapper call this method before using
any other of the wrappers methods and before allocating any new
wrappers can not recover itself.
|
private void |
NormServerBaseImpl.removeSet(LeaseSet set)
Do the heavy lifting on removing a set, assumes the locks on the
set and store have been acquired.
|
(package private) void |
NormServerBaseImpl.sendWarningEvent(LeaseSet set)
Schedule the sending of an expiration warning event.
|
Constructor and Description |
---|
ClientLeaseWrapper(Lease clientLease,
long UID,
List renewedList,
LeaseSet leaseSet,
long membershipDuration,
long renewDuration,
long now)
Simple constructor
|
CreateLeaseSet(LeaseSet set)
Simple constructor
|
LeaseExpirationMgr.Expiration(LeaseSet set)
Create a
Expiration task for the passed resource. |
LeaseExpirationMgr.MgrTask(LeaseSet set)
Simple constructor.
|
LeaseExpirationMgr.QueueExpiration(LeaseSet set) |
LeaseExpirationMgr.SendWarning(LeaseSet set)
Create a
SendWarning task for the passed resource. |
LeaseSet.ChangeSetExpiration(LeaseSet set,
long expiration)
Simple constructor
|
LeaseSet.FailureEventRegistration(LeaseSet set)
Simple constructor
|
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
|
LeaseSet.WarningEventRegistration(LeaseSet set)
Simple constructor
|
LeaseSet.WarningFactory(LeaseSet set)
Create a new WarningFactory
|
NormServerBaseImpl.SendMonitorImpl(LeaseSet set)
Simple constructor.
|
Copyright 2007-2013, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.