com.nhncorp.neptune.common
Class Lease

java.lang.Object
  extended by com.nhncorp.neptune.common.Lease

public class Lease
extends java.lang.Object


Field Summary
static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
Lease(java.lang.Object leaseId, LeaseListener leaseListener, int validPeriod)
           
 
Method Summary
 void expire()
           
 java.lang.Object getLeaseId()
           
 boolean isExipred()
           
 void touch()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
Constructor Detail

Lease

public Lease(java.lang.Object leaseId,
             LeaseListener leaseListener,
             int validPeriod)
Method Detail

getLeaseId

public java.lang.Object getLeaseId()

touch

public void touch()

expire

public void expire()

isExipred

public boolean isExipred()