AbstractProcessor
Value members
Inherited methods
Returns true if the abort method had been called.
Returns true if the abort method had been called.
- Inherited from
- ProcessorBase
Checks if the process was aborted. If so, throws an Aborted exception. The main body
should not try to catch this exception, which will be handled by the underlying infrastructure.
However, the main body should put resource operations in proper try ... finally blocks, so
that these resources are freed when Abort exception is thrown. Alternatively, the cleanUp
method can be overridden to perform such tasks.
Checks if the process was aborted. If so, throws an Aborted exception. The main body
should not try to catch this exception, which will be handled by the underlying infrastructure.
However, the main body should put resource operations in proper try ... finally blocks, so
that these resources are freed when Abort exception is thrown. Alternatively, the cleanUp
method can be overridden to perform such tasks.
- Inherited from
- ProcessorBase
Subclasses may override this to perform further cleanup when the process is aborted.
Subclasses may override this to perform further cleanup when the process is aborted.
- Inherited from
- ProcessorImpl
Synchronously dispatches an update to all currently registered listeners. Non fatal exceptions are caught on a per-listener basis without stopping the dispatch.
Synchronously dispatches an update to all currently registered listeners. Non fatal exceptions are caught on a per-listener basis without stopping the dispatch.
- Inherited from
- ModelImpl
Subclasses may override this to be informed immediately. about an abort request.
Otherwise they can pull the aborted status any time by invoking checkAborted().
Subclasses may override this to be informed immediately. about an abort request.
Otherwise they can pull the aborted status any time by invoking checkAborted().
- Inherited from
- ProcessorBase
Invoke this to signalize progress
Invoke this to signalize progress
- Value Params
- f
the processor's progress in percent (0 to 1). Values outside the 0 to 1 range will be clipped.
- Inherited from
- ProcessorBase
- Inherited from
- Future
Removes all listeners. This is useful when disposing the model, to remove any unnecessary references.
Removes all listeners. This is useful when disposing the model, to remove any unnecessary references.
- Inherited from
- ModelImpl
Subclasses can override this to issue particular actions when the first listener has been registered
Subclasses can override this to issue particular actions when the first listener has been registered
- Inherited from
- ModelImpl
Subclasses can override this to issue particular actions when the last listener has been unregistered
Subclasses can override this to issue particular actions when the last listener has been unregistered
- Inherited from
- ModelImpl
Inherited fields
The resolution at which progress reports are dispatched. The default of 100 means that
a Processor.Progress message is only dispatched if the progress has advanced by at least 1 percent.
Higher values give finer granularity (sub classes may override this value).
The resolution at which progress reports are dispatched. The default of 100 means that
a Processor.Progress message is only dispatched if the progress has advanced by at least 1 percent.
Higher values give finer granularity (sub classes may override this value).
- Inherited from
- ProcessorBase
Implicits
Inherited implicits
Keeps a record of the execution context used for starting this processor.
You may use this to start intermediate sub processes. This method may only
be used in the body method.
Keeps a record of the execution context used for starting this processor.
You may use this to start intermediate sub processes. This method may only
be used in the body method.
- Inherited from
- ProcessorBase