com.caucho.server.distlock
Class LockQuery

java.lang.Object
  extended by com.caucho.server.distlock.LockQuery
All Implemented Interfaces:
java.io.Serializable

public class LockQuery
extends java.lang.Object
implements java.io.Serializable

Service for handling the distributed lock

See Also:
Serialized Form

Constructor Summary
LockQuery(java.lang.String guid, int serverIndex, long acquireTimeout, long holdTimeout)
           
 
Method Summary
 long getAcquireTimeout()
           
 java.lang.String getGuid()
           
 long getHoldTimeout()
           
 int getServerIndex()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LockQuery

public LockQuery(java.lang.String guid,
                 int serverIndex,
                 long acquireTimeout,
                 long holdTimeout)
Method Detail

getGuid

public java.lang.String getGuid()

getServerIndex

public int getServerIndex()

getAcquireTimeout

public long getAcquireTimeout()

getHoldTimeout

public long getHoldTimeout()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object