|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface NotifyLease
Marking with this annotation will cause the notify container to have a lease
(automatically sets true
to AbstractNotifyEventListenerContainer.setAutoRenew(boolean)
.
Optional Element Summary | |
---|---|
long |
lease
Controls the lease associated with the registered listener. |
Class<net.jini.lease.LeaseListener> |
leaseListener
Sets the lease listener for the lease. |
long |
renewDuration
The period of time that passes between client failure, and the time your notifications stop being sent. |
long |
renewExpiration
The period of time your notifications stop being renewed. |
long |
renewRTT
RoundTripTime - the time that takes to reach the server and return. |
public abstract long lease
Lease.FOREVER
.
AbstractNotifyEventListenerContainer.setListenerLease(long)
public abstract long renewExpiration
public abstract long renewDuration
public abstract long renewRTT
public abstract Class<net.jini.lease.LeaseListener> leaseListener
AbstractNotifyEventListenerContainer.setLeaseListener(net.jini.lease.LeaseListener)
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |