org.logicalcobwebs.concurrent
类 FJTaskRunner.VolatileTaskRef

java.lang.Object
  继承者 org.logicalcobwebs.concurrent.FJTaskRunner.VolatileTaskRef
包容类:
FJTaskRunner

protected static final class FJTaskRunner.VolatileTaskRef
extends Object

An object holding a single volatile reference to a FJTask.


字段摘要
protected  FJTask ref
          The reference
 
构造方法摘要
protected FJTaskRunner.VolatileTaskRef()
           
 
方法摘要
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
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

字段详细信息

ref

protected volatile FJTask ref
The reference

构造方法详细信息

FJTaskRunner.VolatileTaskRef

protected FJTaskRunner.VolatileTaskRef()
方法详细信息

put

protected final void put(FJTask r)
Set the reference


get

protected final FJTask get()
Return the reference


take

protected final FJTask take()
Return the reference and clear it


newArray

protected static FJTaskRunner.VolatileTaskRef[] newArray(int cap)
Initialization utility for constructing arrays. Make an array of given capacity and fill it with VolatileTaskRefs.



Copyright © 2014. All rights reserved.