public class ActionServiceMonitor extends Object
Constructor and Description |
---|
ActionServiceMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
actionCompleted(RunningAction action)
Called by the
ActionServiceImpl when sn action completes. |
RunningAction |
actionStarted(Action action)
Called by the
ActionServiceImpl when an action is started. |
List<ActionStatistics> |
getActionStatisitcs() |
int |
getRunningActionCount() |
List<RunningAction> |
getRunningActions() |
public RunningAction actionStarted(Action action)
ActionServiceImpl
when an action is started.
Adds the action to the list of currently running actions.action
- The action being startedRunningAction
object used to track the status of the running action.public void actionCompleted(RunningAction action)
ActionServiceImpl
when sn action completes.
Removes the actions from the list of currently running actions, and updated the accumulated statistics for that action.action
- The RunningAction
object returned by actionStatred.public List<RunningAction> getRunningActions()
public int getRunningActionCount()
public List<ActionStatistics> getActionStatisitcs()
Copyright © 2005–2017 Alfresco Software. All rights reserved.