Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.jini.lease
Interface DesiredExpirationListener

All Superinterfaces:
  EventListener, LeaseListener

public interface DesiredExpirationListener
extends LeaseListener

Subinterface of `LeaseListener` that clients must implement if they want to receive desired expiration reached events in addition to renewal failure events.

See Also:
  `LeaseRenewalManager`

Method Summary
`void` | `expirationReached(LeaseRenewalEvent e)` Method used to delivered desired expiration reached events.

Methods inherited from interface net.jini.lease.LeaseListener
`notify`

Method Detail

### expirationReached

    public void expirationReached(LeaseRenewalEvent e)

  Method used to delivered desired expiration reached events. The `getException` method of the passed event will always return `null`.

  Note that, prior to invoking this method, the `LeaseRenewalManager` removes the affected lease from the managed set of leases. Note also that, because of the reentrancy guarantee made by the `LeaseRenewalManager`, it is safe to call back into the renewal manager from this method.

  Parameters:
    `e` - instance of `LeaseRenewalEvent` containing information about the lease that was removed from the `LeaseRenewalManager` because its desired expiration was reached

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2004 Sun Microsystems, Inc. All rights reserved