public class SharedVariableImpl<T> extends groovyx.gpars.dataflow.DataflowVariable<T> implements SharedVariable<T>
| Constructor and Description |
|---|
SharedVariableImpl(Story story,
String name) |
| Modifier and Type | Method and Description |
|---|---|
T |
getValue()
Represents a thread-safe single-assignment, multi-read variable.
|
void |
setValue(T value) |
get, get, getError, getRemoteClass, isError, leftShift, leftShift, then, then, then, touchbinaryChoice, binaryChoice, binaryChoice, binaryChoice, binaryChoice, binaryChoice, bind, bindError, bindSafely, bindUnique, chainWith, chainWith, chainWith, chainWith, chainWith, chainWith, choice, choice, choice, choice, choice, choice, doBindImpl, doBindRemote, evaluate, filter, filter, filter, filter, filter, filter, getBindErrorManager, getEventManager, getMetaClass, getProperty, getVal, getVal, getValAsync, getValAsync, into, into, into, into, into, into, invokeMethod, isBound, join, join, length, merge, merge, merge, merge, merge, merge, merge, merge, merge, merge, merge, merge, or, or, poll, rightShift, scheduleCallback, separate, separate, separate, separate, separate, separate, setMetaClass, setProperty, split, split, split, split, split, split, split, split, split, split, split, split, subscribe, subscribe, tap, tap, tap, tap, tap, tap, then, then, then, thenForkAndJoin, thenForkAndJoin, thenForkAndJoin, toString, transform, whenBound, whenBound, whenBound, whenBound, wheneverBound, wheneverBoundcreateRemoteHandle, getOrCreateSerialHandle, writeReplaceclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitisBoundbinaryChoice, binaryChoice, binaryChoice, binaryChoice, binaryChoice, binaryChoice, chainWith, chainWith, chainWith, chainWith, chainWith, chainWith, choice, choice, choice, choice, choice, choice, filter, filter, filter, filter, filter, filter, getEventManager, getVal, getVal, getValAsync, getValAsync, into, into, into, into, into, into, isBound, length, merge, merge, merge, merge, merge, merge, merge, merge, merge, merge, merge, merge, or, or, rightShift, separate, separate, separate, separate, separate, separate, split, split, split, split, split, split, split, split, split, split, split, split, tap, tap, tap, tap, tap, tap, then, then, then, whenBound, whenBound, whenBound, whenBoundpublic T getValue()
SharedVariablegetValue in interface SharedVariable<T>getValue in interface WrappedObject<T>public void setValue(T value)
setValue in interface SharedVariable<T>setValue in interface WrappedObject<T>Copyright © 2019. All rights reserved.