java.lang.Object |
↳ |
com.pnfsoftware.jeb.util.serialization.objects.SerReentrantLock |
Class Overview
Wrapper for a Java ReentrantLock that supports serialization
.
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
java.util.concurrent.locks.Lock
abstract
void
|
lock()
|
abstract
void
|
lockInterruptibly()
|
abstract
Condition
|
newCondition()
|
abstract
boolean
|
tryLock()
|
abstract
boolean
|
tryLock(long arg0, TimeUnit arg1)
|
abstract
void
|
unlock()
|
|
Public Constructors
public
SerReentrantLock
()
public
SerReentrantLock
(boolean fair)
Public Methods
public
ReentrantLock
get
()
public
int
getHoldCount
()
public
final
int
getQueueLength
()
public
int
getWaitQueueLength
(Condition condition)
public
final
boolean
hasQueuedThread
(Thread thread)
public
final
boolean
hasQueuedThreads
()
public
boolean
hasWaiters
(Condition condition)
public
final
boolean
isFair
()
public
boolean
isHeldByCurrentThread
()
public
boolean
isLocked
()
public
void
lockInterruptibly
()
public
Condition
newCondition
()
public
boolean
tryLock
()
public
boolean
tryLock
(long timeout, TimeUnit unit)