|
GigaSpaces - Open Spaces | |||||||||
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)
.
Required Element Summary | |
---|---|
long |
lease
Controls the lease associated with the registered listener. |
Optional Element Summary | |
---|---|
Class<net.jini.lease.LeaseListener> |
leaseListener
Sets the lease listener for the lease. |
Element Detail |
---|
public abstract long lease
Lease.FOREVER
.
AbstractNotifyEventListenerContainer.setListenerLease(long)
public abstract Class<net.jini.lease.LeaseListener> leaseListener
AbstractNotifyEventListenerContainer.setLeaseListener(net.jini.lease.LeaseListener)
|
GigaSpaces - Open Spaces | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |