public class LockInfo extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
is_trylock |
protected boolean |
lock_interruptibly |
protected String |
name |
protected TimeUnit |
time_unit |
protected long |
timeout |
protected boolean |
use_timeout |
Constructor and Description |
---|
LockInfo(String name,
boolean is_trylock,
boolean lock_interruptibly,
boolean use_timeout,
long timeout,
TimeUnit time_unit) |
Modifier and Type | Method and Description |
---|---|
String |
getName() |
long |
getTimeout() |
TimeUnit |
getTimeUnit() |
boolean |
isLockInterruptibly() |
boolean |
isTrylock() |
boolean |
isUseTimeout() |
String |
toString() |
protected final String name
protected final boolean is_trylock
protected final boolean lock_interruptibly
protected final boolean use_timeout
protected final long timeout
protected final TimeUnit time_unit
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.