Package org.jbpm.runtime.manager.spi
Interface RuntimeManagerLock
-
- All Known Implementing Classes:
DebugRuntimeManagerLock,DefaultRuntimeManagerLock,SelfReleaseRuntimeManagerLock
public interface RuntimeManagerLock
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidforceUnlock()intgetQueueLength()booleanhasQueuedThreads()booleanisHeldByCurrentThread()voidlock()voidlockInterruptible()booleantryLock(long units, TimeUnit milliseconds)voidunlock()
-
-
-
Method Detail
-
lock
void lock()
-
tryLock
boolean tryLock(long units, TimeUnit milliseconds) throws InterruptedException- Throws:
InterruptedException
-
lockInterruptible
void lockInterruptible() throws InterruptedException- Throws:
InterruptedException
-
unlock
void unlock()
-
hasQueuedThreads
boolean hasQueuedThreads()
-
isHeldByCurrentThread
boolean isHeldByCurrentThread()
-
getQueueLength
int getQueueLength()
-
forceUnlock
default void forceUnlock()
-
-