jgroup.relacs.gm
Class LeaseInfo

java.lang.Object
  extended by 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

Constructor Summary
LeaseInfo(int size)
           
 
Method Summary
 IID getIID(int place)
           
 long getLeasetime()
           
 boolean leaseExpired(int j)
          Returns true if the lease has expired for the member given by position argument j.
 void setIID(IID iid, int place)
           
 void setLeasetime(long rr)
           
 void setTimeStamp(long ts, int place)
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LeaseInfo

public LeaseInfo(int size)
Method Detail

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.