Package | Description |
---|---|
com.gigaspaces.events |
Provides GigaSpaces events related interfaces.
|
net.jini.lease |
Standard service and utility classes for managing leases.
|
org.openspaces.core.transaction.manager |
Jini and Local transaction managers using Spring abstraction for transaction managers
(PlatformTransactionManager).
|
org.openspaces.events.notify |
A notify event container allowing to use GigaSpace support for notifications.
|
Modifier and Type | Method and Description |
---|---|
LeaseListener |
EventSessionConfig.getLeaseListener() |
Modifier and Type | Method and Description |
---|---|
EventSessionConfig |
EventSessionConfig.setAutoRenew(boolean renew,
LeaseListener listener)
enable the auto renew of the notify.
|
void |
EventSessionConfig.setAutoRenew(boolean renew,
LeaseListener listener,
long renewExpiration,
long renewDuration,
long renewRTT)
Deprecated.
Since 9.7 - Customizing auto renew is deprecated, use the simple setAutoRenew(boolean,
LeaseListener) instead.
|
Modifier and Type | Interface and Description |
---|---|
interface |
DesiredExpirationListener
Subinterface of
LeaseListener that clients must
implement if they want to receive desired expiration reached events
in addition to renewal failure events. |
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
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 |
---|---|
LeaseListener |
TransactionLeaseRenewalConfig.getLeaseListener()
Sets an optional renew listener to be notified on renew events.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionLeaseRenewalConfig.setLeaseListener(LeaseListener leaseListener)
Sets an optional renew listener to be notified on renew events.
|
Modifier and Type | Method and Description |
---|---|
SimpleNotifyContainerConfigurer |
SimpleNotifyContainerConfigurer.leaseListener(LeaseListener leaseListener) |
void |
SimpleNotifyEventListenerContainer.setLeaseListener(LeaseListener leaseListener)
If
SimpleNotifyEventListenerContainer.setAutoRenew(boolean) is set to true sets the lease listener for
it. |
Copyright © GigaSpaces.