private static interface RegionStateNodeLock.QueueEntry
Modifier and Type | Method and Description |
---|---|
void |
await()
Called when we can not hold the lock and should wait.
|
Object |
getOwner()
A thread, or a procedure.
|
void |
signal()
Called when it is your turn to get the lock.
|
void await() throws ProcedureSuspendedException
ProcedureSuspendedException
void signal()
wakeUp
action, to
add the procedure back to procedure scheduler.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.