Modifier and Type | Method and Description |
---|---|
void |
GSEventRegistration.setLease(Lease lease) |
Constructor and Description |
---|
GSEventRegistration(long eventID,
Object source,
Lease lease,
long seqNum) |
GSEventRegistration(long eventID,
Object source,
Lease lease,
long seqNum,
String templateID,
Uuid spaceUID) |
Modifier and Type | Method and Description |
---|---|
Lease |
AbstractSpaceProxy.write(Entry entry,
Transaction txn,
long lease) |
Modifier and Type | Method and Description |
---|---|
void |
BatchLeaseRenewalManager.unregisterAutoRenew(Lease lease) |
Modifier and Type | Class and Description |
---|---|
class |
DurableNotificationLease |
Modifier and Type | Method and Description |
---|---|
boolean |
DurableNotificationLease.canBatch(Lease lease) |
Modifier and Type | Method and Description |
---|---|
Lease |
WriteResultImpl.getLease() |
Modifier and Type | Method and Description |
---|---|
static WriteResultImpl |
WriteResultImpl.createLeaseResult(Lease lease) |
static WriteResultImpl |
WriteResultImpl.createResult(Lease lease,
Throwable error) |
void |
WriteResultImpl.setLease(Lease lease) |
Modifier and Type | Class and Description |
---|---|
class |
SpaceEntryLease<T> |
class |
SpaceLease |
class |
SpaceNotifyLease |
Modifier and Type | Method and Description |
---|---|
boolean |
SpaceLease.canBatch(Lease lease) |
Modifier and Type | Interface and Description |
---|---|
interface |
LeaseContext<T>
LeaseContext is a return-value encapsulation of a write operation.
|
Modifier and Type | Class and Description |
---|---|
static class |
LeaseInitializer.UIDLease |
static class |
LeaseInitializer.UpdateContextLease |
class |
LeaseProxy
An instance of this class represents an entry/template lease or a lease of an event registration
results from an event registration.
|
Modifier and Type | Method and Description |
---|---|
Lease |
LeaseManager.registerTemplateLease(TemplateCacheInfo templateCacheInfo) |
Modifier and Type | Method and Description |
---|---|
boolean |
LeaseProxy.canBatch(Lease lease) |
boolean |
LeaseInitializer.UIDLease.canBatch(Lease lease) |
Modifier and Type | Method and Description |
---|---|
Lease |
Context.getNotifyLease() |
Modifier and Type | Method and Description |
---|---|
void |
Context.setNotifyLease(Lease lease) |
Modifier and Type | Method and Description |
---|---|
Lease |
IWriteResult.getLease()
Deprecated.
Since 8.0.3 - Use
IWriteResult.getLeaseContext() instead. |
Modifier and Type | Class and Description |
---|---|
class |
ConstrainableLandlordLease
Constrainable sub-class of
LandlordLease . |
class |
LandlordLease
Basic implementation of
net.jini.core.lease.Lease that works with the the Landlord
protocol. |
Modifier and Type | Method and Description |
---|---|
boolean |
LandlordLease.canBatch(Lease lease) |
boolean |
ConstrainableLandlordLease.canBatch(Lease lease) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractLease
A base class for implementing lease objects.
|
Constructor and Description |
---|
AbstractLeaseMap(Lease lease,
long duration)
Default to using a small HashMap.
|
AbstractLeaseMap(Map map,
Lease lease,
long duration)
Provide a map of your choice.
|
Modifier and Type | Class and Description |
---|---|
class |
MahaloTxnBasicLease
TODO add Javadoc
|
Modifier and Type | Class and Description |
---|---|
class |
ConstrainableEventLease
EventLease subclass that supports constraints.
|
class |
EventLease
When a registrar (lookup service) grants a lease on an event registration on behalf of some
object (client), a proxy is employed to allow the client to interact with the lease; this class
is the implementation of that proxy.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ConstrainableEventLease.canBatch(Lease lease)
Two leases can be batched if they are both RegistrarLeases, share the same server, and have
compatible constraints.
|
Modifier and Type | Field and Description |
---|---|
protected Lease |
EventRegistration.lease
The registration lease.
|
Modifier and Type | Method and Description |
---|---|
Lease |
EventRegistration.getLease()
Returns the Lease object for this registration.
|
Constructor and Description |
---|
EventRegistration(long eventID,
Object source,
Lease lease,
long seqNum)
Constructs an EventRegistration object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Lease.canBatch(Lease lease)
Returns a boolean indicating whether or not the lease given as a parameter can be batched
(placed in the same LeaseMap) with the current lease.
|
Modifier and Type | Method and Description |
---|---|
Lease |
ServiceRegistration.getLease()
Returns the lease that controls the service registration, allowing the lease to be renewed or
cancelled.
|
Constructor and Description |
---|
RegistrarEventRegistration(long eventID,
Object source,
Lease lease,
long seqNum,
ServiceMatchesWrapper matches) |
Modifier and Type | Interface and Description |
---|---|
interface |
ITransactionLease
TODO add Javadoc
|
Modifier and Type | Field and Description |
---|---|
Lease |
NestableTransaction.Created.lease
The lease.
|
Lease |
Transaction.Created.lease
The lease.
|
Constructor and Description |
---|
Created(NestableTransaction transaction,
Lease lease)
Simple constructor.
|
Created(Transaction transaction,
Lease lease)
Simple constructor.
|
Modifier and Type | Field and Description |
---|---|
Lease |
TransactionManager.Created.lease
The lease.
|
Constructor and Description |
---|
Created(long id,
Lease lease)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
Lease |
LeaseRenewalEvent.getLease()
Returns a reference to the lease to which the event pertains.
|
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.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.
|
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.
|
Constructor and Description |
---|
LeaseRenewalEvent(Object source,
Lease lease,
long expiration,
Throwable ex)
Constructs an instance of this class with the specified state.
|
LeaseRenewalManager(Lease lease,
long desiredExpiration,
LeaseListener listener)
Constructs an instance of this class that will initially manage a single lease.
|
Modifier and Type | Method and Description |
---|---|
Lease |
JavaSpace.write(Entry entry,
Transaction txn,
long lease)
Write a new entry into the space.
|
Modifier and Type | Method and Description |
---|---|
Lease |
MonitorableService.monitor(long duration)
Establish a Lease to monitor the reachability of the Service
|
Copyright © GigaSpaces.