|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.logicalcobwebs.concurrent.FJTaskRunner.VolatileTaskRef
protected static final class FJTaskRunner.VolatileTaskRef
An object holding a single volatile reference to a FJTask.
Field Summary | |
---|---|
protected FJTask |
ref
The reference |
Constructor Summary | |
---|---|
protected |
FJTaskRunner.VolatileTaskRef()
|
Method Summary | |
---|---|
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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected volatile FJTask ref
Constructor Detail |
---|
protected FJTaskRunner.VolatileTaskRef()
Method Detail |
---|
protected final void put(FJTask r)
protected final FJTask get()
protected final FJTask take()
protected static FJTaskRunner.VolatileTaskRef[] newArray(int cap)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |