public class NStateLatch
extends java.lang.Object
Runnable corresponding to the new state is executed.| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Runnable[] |
_transitions
Action for state transition ?-->i
|
| Constructor and Description |
|---|
NStateLatch(java.lang.Runnable[] transitions)
Constructor, the array of
Runnables defines the number of states and the transition
actions. |
| Modifier and Type | Method and Description |
|---|---|
int |
getDepth(int state) |
static java.lang.String |
getStackTrace(java.lang.Throwable aThrowable) |
void |
latch(int state) |
void |
release(int state) |
protected java.lang.Runnable[] _transitions
Copyright © 2021 WSO2. All Rights Reserved.