javax.realtime.util
Class EventVariable
java.lang.Object
javax.realtime.util.EventVariable
- public class EventVariable
- extends Object
This class represent an Event Variable that can be used to
synchronize concurrent thread on the happening of a given event.
This implementation of event variable actually laches the
signal, and make those available to later invocation
of await. This means that, an invocation of the method
await would not block if an invocation of the method
signal had preceeded it.
- Author:
- Angelo Corsaro
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventVariable
public EventVariable()
EventVariable
public EventVariable(boolean signaled)
await
public void await()
throws InterruptedException
- Throws:
InterruptedException
await
public void await(long timeoutMillis)
throws InterruptedException
- Throws:
InterruptedException
await
public void await(long timeoutMillis,
int timeoutNanos)
throws InterruptedException
- Throws:
InterruptedException
signal
public void signal()
broadCastSignal
public void broadCastSignal()
jRate is developed and maintained by the jRate project development team.
Copyright (c) 2001-2005 Angelo Corsaro and Morgan Deters.