org.logicalcobwebs.concurrent
Class FJTaskRunner.VolatileTaskRef
java.lang.Object
org.logicalcobwebs.concurrent.FJTaskRunner.VolatileTaskRef
- FJTaskRunner
protected static final class FJTaskRunner.VolatileTaskRef
extends java.lang.Object
An object holding a single volatile reference to a FJTask.
ref
protected FJTask ref
The reference *
get
protected final FJTask get()
Return the reference *
newArray
protected static FJTaskRunner.VolatileTaskRef[] newArray(int cap)
Initialization utility for constructing arrays.
Make an array of given capacity and fill it with
VolatileTaskRefs.
put
protected final void put(FJTask r)
Set the reference *
take
protected final FJTask take()
Return the reference and clear it *