Class ActivityItemProcessingStatistics


  • public class ActivityItemProcessingStatistics
    extends Initializable
    This is "live" iteration information. BEWARE: When explicitly enabled, automatically updates also the structured progress when recording operation end. This is somewhat experimental and should be reconsidered. Thread safety: Must be thread safe. 1. Updates are invoked in the context of the thread executing the activity. 2. But queries are invoked either from this thread, or from some observer (task manager or GUI thread). Implementation: Because the iteration information grew to quite complex structure, we no longer keep "native" form and "bean" form separately. Now we simply store the bean form, and provide the necessary synchronization. Also, we no longer distinguish start value and delta. Everything is kept in the value.