Package | Description |
---|---|
com.gigaspaces.events |
Provides GigaSpaces events related interfaces.
|
com.sun.jini.lease |
Some basic utility classes for helping with
client-side lease renewal operations.
|
com.sun.jini.mahalo |
Provides implementations of the
TransactionManager service.
|
net.jini.core.lease |
These are distributed leasing interfaces and classes.
|
net.jini.core.transaction.server |
These are the default transaction semantics for participant/manager interaction.
|
net.jini.lease |
Standard service and utility classes for managing leases.
|
Modifier and Type | Method and Description |
---|---|
void |
EventSession.close()
closes the session and deregister all listeners.
|
void |
DataEventSession.removeListener(EventRegistration registration)
Unregisters the listener from the space.
|
Modifier and Type | Method and Description |
---|---|
protected abstract long |
AbstractLease.doRenew(long duration)
Renew the lease for a duration relative to now, and return
the duration actually granted.
|
void |
AbstractLease.renew(long duration)
Renew the lease for a duration relative to now.
|
Modifier and Type | Method and Description |
---|---|
void |
LeaseExpirationMgr.Expirer.cancel(net.jini.id.Uuid cookie)
Called by a LeaseExpirationMgr when it needs to expire a
resource.
|
void |
TxnManagerImpl.cancel(net.jini.id.Uuid uuid)
Cancels the lease on a
Transaction . |
void |
MahaloTxnBasicLease.renew(long duration)
Renew the lease for a duration relative to now.
|
long |
TxnManagerImpl.renew(net.jini.id.Uuid uuid,
long extension)
Requests the renewal of a lease on a
Transaction . |
Modifier and Type | Method and Description |
---|---|
void |
Lease.cancel()
Used by the lease holder to indicate that it is no longer interested
in the resource or information held by the lease.
|
void |
Lease.renew(long duration)
Used to renew a lease for an additional period of time, specified in
milliseconds.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionParticipant.renewLease(TransactionManager mgr,
long id,
long time)
Notify the transaction participant about transaction lease renewal
|
Modifier and Type | Method and Description |
---|---|
void |
LeaseRenewalManager.cancel(Lease lease)
Removes a given lease from the managed set, and cancels it.
|
long |
LeaseRenewalManager.getExpiration(Lease lease)
Returns the current desired expiration time associated with a
particular lease, (not the actual expiration that was granted
when the lease was created or last renewed).
|
void |
LeaseRenewalManager.remove(Lease lease)
Removes a given lease from the managed set of leases; but does
not cancel the given lease.
|
void |
LeaseRenewalManager.setExpiration(Lease lease,
long expiration)
Replaces the current desired expiration of a given lease from the
managed set with a new desired expiration time.
|
Copyright © GigaSpaces.