SSF.OS
Class Resource

java.lang.Object
  |
  +--com.renesys.raceway.SSF.Entity
        |
        +--SSF.OS.Resource

public synchronized class Resource
extends com.renesys.raceway.SSF.Entity


Nested Class Summary
private  class Resource.callback
           
 
Field Summary
private  long busyUntil
           
(package private)  com.renesys.raceway.SSF.inChannel fromSelf
           
(package private)  com.renesys.raceway.SSF.outChannel toSelf
           
 
Fields inherited from class com.renesys.raceway.SSF.Entity
 
Constructor Summary
Resource()
           
 
Method Summary
 long currentWait()
           
 boolean reserve(long, boolean)
           
 boolean reserve(long, Continuation, boolean)
           
 
Methods inherited from class com.renesys.raceway.SSF.Entity
alignment, alignTo, coalignedEntities, inChannels, init, joinAll, makeIndependent, now, outChannels, pauseAll, playRole, processes, resumeAll, startAll, startAll, startClient, startClient, startServer, W, Z
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

busyUntil

private long busyUntil

toSelf

com.renesys.raceway.SSF.outChannel toSelf

fromSelf

com.renesys.raceway.SSF.inChannel fromSelf
Constructor Detail

Resource

public Resource()
Method Detail

currentWait

public long currentWait()

reserve

public boolean reserve(long,
                       boolean)

reserve

public boolean reserve(long,
                       Continuation,
                       boolean)