com.sun.jini.mahalo
Interface LeaseManager

All Known Implementing Classes:
LeaseExpirationMgr

public interface LeaseManager

LeaseManager provides an interface for tracking lease status.

Author:
Sun Microsystems, Inc.

Method Summary
 void register(LeasedResource resource)
          Notifies the manager of a new lease being created.
 void renewed(LeasedResource resource)
          Notifies the manager of a lease being renewed.
 

Method Detail

register

void register(LeasedResource resource)
Notifies the manager of a new lease being created.

Parameters:
resource - The resource associated with the new Lease.

renewed

void renewed(LeasedResource resource)
Notifies the manager of a lease being renewed.

Parameters:
resource - The resource associated with the new Lease.


Copyright 2007-2010, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.