jist.runtime
Class BlockingSleep

java.lang.Object
  extended by jist.runtime.Entity.Empty
      extended by jist.runtime.BlockingSleep
All Implemented Interfaces:
Entity, JistAPI.Entity, JistAPI.Timeless, Timeless

public class BlockingSleep
extends Entity.Empty
implements JistAPI.Entity

Implements API support for blocking sleeps.

Since:
JIST1.0
Version:
$Id: BlockingSleep.java,v 1.1 2005/02/25 04:43:58 barr Exp $
Author:
Rimon Barr <barr+jist@cs.cornell.edu>

Nested Class Summary
 
Nested classes/interfaces inherited from interface jist.runtime.Entity
Entity.Empty, Entity.Static
 
Field Summary
static java.lang.reflect.Method _jistMethodStub_sleep_28J_29V
          Jist method stub for (blocking) sleep method.
 
Fields inherited from class jist.runtime.Entity.Empty
_jistField__ref
 
Constructor Summary
BlockingSleep()
          Create new BlockingSleepEntity.
 
Method Summary
 void sleep(long i)
          Blocking sleep implementation.
 
Methods inherited from class jist.runtime.Entity.Empty
_jistMethod_Get__ref, _jistMethod_Set__ref
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_jistMethodStub_sleep_28J_29V

public static java.lang.reflect.Method _jistMethodStub_sleep_28J_29V
Jist method stub for (blocking) sleep method.

Constructor Detail

BlockingSleep

BlockingSleep()
Create new BlockingSleepEntity.

See Also:
JistAPI
Method Detail

sleep

public void sleep(long i)
           throws JistAPI.Continuation
Blocking sleep implementation.

Parameters:
i - number of simulation ticks to sleep
Throws:
JistAPI.Continuation