org.jgroups.blocks.locking
Class LockInfo
java.lang.Object
org.jgroups.blocks.locking.LockInfo
public class LockInfo
- extends java.lang.Object
- Author:
- Bela Ban
Constructor Summary |
LockInfo(java.lang.String name,
boolean is_trylock,
boolean lock_interruptibly,
boolean use_timeout,
long timeout,
java.util.concurrent.TimeUnit time_unit)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
name
protected final java.lang.String name
is_trylock
protected final boolean is_trylock
lock_interruptibly
protected final boolean lock_interruptibly
use_timeout
protected final boolean use_timeout
timeout
protected final long timeout
time_unit
protected final java.util.concurrent.TimeUnit time_unit
LockInfo
public LockInfo(java.lang.String name,
boolean is_trylock,
boolean lock_interruptibly,
boolean use_timeout,
long timeout,
java.util.concurrent.TimeUnit time_unit)
isTrylock
public boolean isTrylock()
isLockInterruptibly
public boolean isLockInterruptibly()
isUseTimeout
public boolean isUseTimeout()
getName
public java.lang.String getName()
getTimeout
public long getTimeout()
getTimeUnit
public java.util.concurrent.TimeUnit getTimeUnit()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Copyright © 1998-2012 Bela Ban / Red Hat. All Rights Reserved.