Package com.im.commons.progress
-
Interface Summary Interface Description DFEnvironmentRO Environment of time consuming read-only methods - methods, which don't modify data, but it is expected that they will take more time to perform.DFEnvironmentRW An extension ofDFEnvironmentRO
class which provides environment for read-only methods.DFFeedback Provides call backs for displaying progress and information as processes run in the DIF tier.DFLock A lock that can be used to restrict access to a DIF object.DFLockable Most of DIF write methods (methods which modifies data or model somehow) use locking.EnvironmentsFactory Any extension module can install own version of DFEnvironmentRX factory.EnvUtils.DFFeedbackWithCancel An extension ofDFFeedback
with ability to cancel the running task.ErrorNotifier.Notifier Task This interface allows control of tasks produced by BackgroundRunner. -
Class Summary Class Description BackgroundRunner The utility class which supports running of some task in request processor and after finishing transfer the code flow to AWT event dispatching thread.BackgroundRunner.BackgroundTask Implementation of Task backed by ExecutorService provided by BackgroundTask or its descendant classes.ConsoleFeedback Implementation ofDFFeedback
which prints all messages to console or provided stream.DFStatusDisplayer Simple wrapper around StatusLogger.EnvUtils This class is used as factory for creating default implementation of DIF environments (DFEnvironmentRO
andDFEnvironmentRW
) and for creating environment for subtasks.ErrorNotifier Opens user-friendly dialog with error.PropertyChangeEventWithEnv Property change event with an environment to be used for feedback and cancellation checking.SimpleLockable Lockable with minimal functionality to cover test-cases needs.UIBackgroundRunnerRO UI extension of background runner - this class creates newDFEnvironmentRO
usingEnvUtils
.UIBackgroundRunnerRW An extension ofUIBackgroundRunnerRO
which is able to lock the given DFLockable and use the lock in the background task. -
Enum Summary Enum Description DFFeedback.Type Types of messages to be used in DFFeedback. -
Exception Summary Exception Description AlreadyLockedException This exception is thrown from aDFLockable.obtainLock(java.lang.String)
when the object is already locked.CancelException Exceptional return code from the operation.