com.sun.jini.lease.landlord
Class LandlordLease
java.lang.Object
|
+--com.sun.jini.lease.AbstractLease
|
+--com.sun.jini.lease.landlord.LandlordLease
- public class LandlordLease
- extends AbstractLease
Basic implementaion of net.jini.core.lease.Lease
that works
with the the Landlord protocol.
- See Also:
Landlord
, Serialized Form
Inner Class Summary |
static class |
LandlordLease.Factory
Implementation of LandlordLeaseFactory the produces
LandlordLease s. |
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
notify,
notifyAll,
wait,
wait,
wait |
cancel
public void cancel()
throws UnknownLeaseException,
java.rmi.RemoteException
doRenew
protected long doRenew(long renewDuration)
throws LeaseDeniedException,
UnknownLeaseException,
java.rmi.RemoteException
- Overrides:
- doRenew in class AbstractLease
equals
public boolean equals(java.lang.Object other)
- Overrides:
- equals in class java.lang.Object
canBatch
public boolean canBatch(Lease lease)
createLeaseMap
public LeaseMap createLeaseMap(long duration)
hashCode
public int hashCode()
- Overrides:
- hashCode in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
Copyright © 1999 Sun Microsystems, Inc. All rights reserved