jgroup.relacs.gm
Class LeaseInfo
java.lang.Object
jgroup.relacs.gm.LeaseInfo
public class LeaseInfo
- extends java.lang.Object
The LeaseInfo
class is a datastructure used by the
dependable registry to support leasing.
- Since:
- Jgroup 2.1
- Author:
- Henning Hommeland, Jo Andreas Lind
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LeaseInfo
public LeaseInfo(int size)
setTimeStamp
public void setTimeStamp(long ts,
int place)
setIID
public void setIID(IID iid,
int place)
getIID
public IID getIID(int place)
size
public int size()
getLeasetime
public long getLeasetime()
setLeasetime
public void setLeasetime(long rr)
leaseExpired
public boolean leaseExpired(int j)
- Returns true if the lease has expired for the member given by
position argument
j
. Otherwise, false is returned.
Copyright © 1998-2006 The Jgroup/ARM development team. All Rights Reserved.