Package org.openspaces.events.notify
Annotation Interface NotifyLease
Deprecated.
Since 9.7 - event listener with custom lease or custom auto-renew is deprecated.
Marking with this annotation will cause the notify container to have a lease (automatically sets
true to SimpleNotifyEventListenerContainer.setAutoRenew(boolean).- Author:
- kimchy
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionlongDeprecated.Controls the lease associated with the registered listener.Class<? extends LeaseListener>Deprecated.Sets the lease listener for the lease.longDeprecated.The period of time that passes between client failure, and the time your notifications stop being sent.longDeprecated.The period of time your notifications stop being renewed.longDeprecated.RoundTripTime - the time that takes to reach the server and return.
-
Element Details
-
lease
long leaseDeprecated.Controls the lease associated with the registered listener. Defaults toLease.FOREVER.- Default:
- 9223372036854775807L
-
renewExpiration
long renewExpirationDeprecated.The period of time your notifications stop being renewed.- Default:
- 9223372036854775807L
-
renewDuration
long renewDurationDeprecated.The period of time that passes between client failure, and the time your notifications stop being sent. use more than renewRTT.- Default:
- 20000L
-
renewRTT
long renewRTTDeprecated.RoundTripTime - the time that takes to reach the server and return.- Default:
- 10000L
-
leaseListener
Class<? extends LeaseListener> leaseListenerDeprecated.Sets the lease listener for the lease. Default to no listener.- Default:
- net.jini.lease.LeaseListener.class
-