Class NotificationsIndicator.ReloadCountTask
java.lang.Object
io.jmix.flowui.backgroundtask.BackgroundTask<Void,Integer>
 
io.jmix.notificationsflowui.component.notificationsindicator.NotificationsIndicator.ReloadCountTask
- Enclosing class:
- NotificationsIndicator
- 
Nested Class SummaryNested classes/interfaces inherited from class io.jmix.flowui.backgroundtask.BackgroundTaskBackgroundTask.ProgressListener<T,V>, BackgroundTask.ProgressListenerAdapter<T, V> 
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class io.jmix.flowui.backgroundtask.BackgroundTaskaddProgressListener, canceled, getOwnerView, getParams, getProgressListeners, getTimeoutMilliseconds, getTimeoutSeconds, handleException, handleTimeoutException, progress, removeProgressListener
- 
Field Details- 
recipient
 
- 
- 
Constructor Details- 
ReloadCountTask
 
- 
- 
Method Details- 
runDescription copied from class:BackgroundTaskMain method that performs a task.
 Called by the execution environment in a separate working thread.
 Implementation of this method should support interruption:- In long loops check TaskLifeCycle.isInterrupted()and return if it is true
- Don't swallow InterruptedException- return from the method or don't catch it at all
 - Specified by:
- runin class- BackgroundTask<Void,- Integer> 
- Parameters:
- taskLifeCycle- lifecycle object that allows the main method to interact with the execution environment
- Returns:
- task result
 
- In long loops check 
- 
doneDescription copied from class:BackgroundTaskCalled by the execution environment in UI thread when the task is completed.- Overrides:
- donein class- BackgroundTask<Void,- Integer> 
- Parameters:
- result- result of execution returned by- BackgroundTask.run(TaskLifeCycle)method
 
 
-