public interface IRunnableExtension extends IRunnable
IRunnable
interface. It includes, in a
more expressive way, a set value with a TINE data type and the a method
which returns the error status of the runnable.Modifier and Type | Method and Description |
---|---|
boolean |
isError()
Queries if an error has occurred on this thread by running it with the
method of
Runnable.run() . |
void |
setValue(de.desy.tine.types.TCompoundDataObject value_)
The value will be set to the corresponding value of
TCompoundDataObject . |
void setValue(de.desy.tine.types.TCompoundDataObject value_)
TCompoundDataObject
.value_
- Sets the interface to the corresponding value.boolean isError()
Queries if an error has occurred on this thread by running it with the
method of Runnable.run()
.
ATTENTION: Possibly this query will wait until the run() method has been executed. So there can be (depending on the wait-times of the constructor how long this method will wait. This should possibly done by a public field in the concrete class.
14-September-2016 18:23 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft