public interface ILeaseRegistry
Modifier and Type | Field and Description |
---|---|
static ObjectID |
REGISTRY_ID
The object id under which the remote lease registry will be
exported.
|
Modifier and Type | Method and Description |
---|---|
void |
remove(SystemID system,
Lease lease)
Releases the observer that observes the specified object
identifier on the specified system.
|
void |
unhook(SystemID system,
Lease lease)
Tells the local lease listener that the specified system
has unhooked the lease and that it might be released.
|
java.util.Vector |
update(SystemID system,
java.util.Vector leases)
Called by a remote lease registry.
|
static final ObjectID REGISTRY_ID
java.util.Vector update(SystemID system, java.util.Vector leases) throws InvocationException
system
- The system that is refreshing the leases.leases
- The leases whose lease should be extended.InvocationException
- Thrown if the call failed.void unhook(SystemID system, Lease lease) throws InvocationException
system
- The system that is making the unhook call.lease
- The lease that has been unhooked by the remote system.InvocationException
- Thrown if the call failed.void remove(SystemID system, Lease lease) throws InvocationException
system
- The source system that released the lease.lease
- The lease that has been removed on the originating
system.InvocationException
- Thrown if the call failed.