Package | Description |
---|---|
com.gigaspaces.events |
Provides GigaSpaces events related interfaces.
|
com.gigaspaces.internal.client.cache.localview.replication | |
com.gigaspaces.internal.client.spaceproxy.operations | |
com.gigaspaces.internal.cluster.node.impl.handlers | |
com.gigaspaces.internal.events.durable | |
com.gigaspaces.internal.lease | |
com.gigaspaces.internal.lrmi.stubs | |
com.gigaspaces.internal.server.space | |
com.j_spaces.core |
Provides Space properties and security context services
|
com.sun.jini.landlord |
This is a utility for services implementing leases.
|
com.sun.jini.lease | |
com.sun.jini.mahalo |
Provides implementations of the
TransactionManager service.
|
com.sun.jini.reggie |
Provides implementations of
ServiceRegistrar . |
net.jini.core.lease | |
net.jini.core.lookup | |
net.jini.core.transaction.server | |
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 |
---|---|
void |
LocalViewReplicationEntryLeaseEventHandler.inExtendEntryLeasePeriod(IReplicationInContext context,
String typeName,
String uid,
boolean isTransient,
long lease,
int routingValue) |
Modifier and Type | Method and Description |
---|---|
void |
UpdateLeaseSpaceOperationResult.processExecutionException() |
Modifier and Type | Method and Description |
---|---|
void |
SpaceReplicationEntryLeaseEventHandler.inExtendEntryLeasePeriod(IReplicationInContext context,
String typeName,
String uid,
boolean isTransient,
long lease,
int routingValue) |
void |
SpaceReplicationTemplateEventHandler.inExtendNotifyTemplateLeasePeriod(IReplicationInContext context,
String typeName,
String uid,
long lease) |
Constructor and Description |
---|
UnknownEntryLeaseException(String className,
String uid,
OperationID operationID,
UnknownLeaseException ex) |
UnknownNotifyTemplateLeaseException(String className,
String uid,
UnknownLeaseException ex) |
Modifier and Type | Method and Description |
---|---|
void |
DurableNotificationLease.renew(long duration) |
Modifier and Type | Method and Description |
---|---|
void |
SpaceLease.cancel() |
void |
SpaceNotifyLease.cancel() |
void |
SpaceLease.renew(long duration) |
Modifier and Type | Method and Description |
---|---|
void |
LRMISpaceImpl.cancel(String entryUID,
String classname,
int objectType) |
long |
LRMISpaceImpl.renew(String entryUID,
String classname,
int objectType,
long duration) |
void |
LRMISpaceImpl.renewLease(TransactionManager mgr,
long id,
long time) |
Modifier and Type | Method and Description |
---|---|
void |
IRemoteSpace.cancel(String entryUID,
String classname,
int objectType) |
void |
SpaceImpl.cancel(String entryUID,
String classname,
int objectType) |
void |
SpaceImpl.cancel(String entryUID,
String classname,
int objectType,
boolean isFromGateway) |
long |
IRemoteSpace.renew(String entryUID,
String classname,
int objectType,
long duration) |
long |
SpaceImpl.renew(String entryUID,
String classname,
int objectType,
long duration) |
long |
SpaceImpl.renew(String entryUID,
String classname,
int objectType,
long duration,
boolean isFromGateway) |
void |
SpaceImpl.renewLease(TransactionManager mgr,
long id,
long time) |
Modifier and Type | Method and Description |
---|---|
void |
LeaseInitializer.UIDLease.cancel() |
void |
LeaseProxy.cancel() |
IEntryHolder |
LeaseManager.cancel(String entryUid,
String classname,
int objectType,
boolean fromReplication,
boolean origin,
boolean isFromGateway)
Cancel a lease for a registered Entry in this Lease Manager.
|
IEntryHolder |
LeaseManager.cancel(String entryUid,
String classname,
int objectType,
boolean fromReplication,
boolean origin,
boolean lease_expired,
OperationID operationID,
boolean isFromGateway) |
void |
LeaseProxy.renew(long duration) |
long |
LeaseManager.renew(String entryUid,
String className,
int objectType,
long duration,
boolean fromReplication,
boolean origin,
boolean isFromGateway)
Renews a lease for an additional period of time (specified in milliseconds) for a registered
entry in this Lease Manager.
|
void |
LeaseManager.update(String entryUid,
String className,
int objectType,
long duration) |
Modifier and Type | Method and Description |
---|---|
void |
LandlordLease.cancel() |
void |
Landlord.cancel(Uuid cookie)
Called by the lease when its
cancel method is called. |
void |
LocalLandlord.cancel(Uuid cookie)
Cancel the lease that is associated with the given cookie.
|
protected long |
LandlordLease.doRenew(long renewDuration) |
long |
Landlord.renew(Uuid cookie,
long duration)
Called by the lease when its
renew method is called. |
long |
LocalLandlord.renew(Uuid cookie,
long duration)
Renew the lease that is associated with the given cookie.
|
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(Uuid cookie)
Called by a LeaseExpirationMgr when it needs to expire a resource.
|
void |
TxnManagerImpl.cancel(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(Uuid uuid,
long extension)
Requests the renewal of a lease on a
Transaction . |
Modifier and Type | Method and Description |
---|---|
void |
GigaRegistrar.addAttributes(ServiceID serviceID,
Uuid leaseID,
EntryRep[] attrSets) |
void |
Registrar.addAttributes(ServiceID serviceID,
Uuid leaseID,
EntryRep[] attrSets)
Adds the specified attribute sets (those that aren't duplicates of existing attribute sets)
to the registered service item.
|
void |
EventLease.cancel() |
void |
GigaRegistrar.cancelEventLease(long eventID,
Uuid leaseID) |
void |
Registrar.cancelEventLease(long eventID,
Uuid leaseID)
Cancels an event lease.
|
void |
GigaRegistrar.cancelServiceLease(ServiceID serviceID,
Uuid leaseID) |
void |
Registrar.cancelServiceLease(ServiceID serviceID,
Uuid leaseID)
Cancels a service lease.
|
protected long |
EventLease.doRenew(long duration)
Renews the event lease associated with an instance of this class.
|
void |
GigaRegistrar.modifyAttributes(ServiceID serviceID,
Uuid leaseID,
EntryRep[] attrSetTmpls,
EntryRep[] attrSets) |
void |
Registrar.modifyAttributes(ServiceID serviceID,
Uuid leaseID,
EntryRep[] attrSetTmpls,
EntryRep[] attrSets)
Modifies existing attribute sets of a registered service item.
|
long |
GigaRegistrar.renewEventLease(long eventID,
Uuid leaseID,
long renewDuration) |
long |
Registrar.renewEventLease(long eventID,
Uuid leaseID,
long duration)
Renews an event lease.
|
long |
GigaRegistrar.renewServiceLease(ServiceID serviceID,
Uuid leaseID,
long renewDuration) |
long |
Registrar.renewServiceLease(ServiceID serviceID,
Uuid leaseID,
long duration)
Renews a service lease.
|
void |
GigaRegistrar.setAttributes(ServiceID serviceID,
Uuid leaseID,
EntryRep[] attrSets) |
void |
Registrar.setAttributes(ServiceID serviceID,
Uuid leaseID,
EntryRep[] attrSets)
Deletes all of the service item's existing attributes, and replaces them with the specified
attribute sets.
|
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 |
ServiceRegistration.addAttributes(Entry[] attrSets)
Adds the specified attribute sets (those that aren't duplicates of existing attribute sets)
to the registered service item.
|
void |
ServiceRegistration.modifyAttributes(Entry[] attrSetTemplates,
Entry[] attrSets)
Modifies existing attribute sets.
|
void |
ServiceRegistration.setAttributes(Entry[] attrSets)
Deletes all of the service item's existing attributes, and replaces them with the specified
attribute sets.
|
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.