protected static final class FJTaskRunner.VolatileTaskRef
extends java.lang.Object
Modifier | Constructor | Description |
---|---|---|
protected |
VolatileTaskRef() |
Modifier and Type | Method | Description |
---|---|---|
protected FJTask |
get() |
Return the reference
|
protected static FJTaskRunner.VolatileTaskRef[] |
newArray(int cap) |
Initialization utility for constructing arrays.
|
protected void |
put(FJTask r) |
Set the reference
|
protected FJTask |
take() |
Return the reference and clear it
|
protected volatile FJTask ref
protected final void put(FJTask r)
protected final FJTask get()
protected final FJTask take()
protected static FJTaskRunner.VolatileTaskRef[] newArray(int cap)