public class ActionServiceMonitor
extends java.lang.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. |
java.util.List |
getActionStatisitcs() |
int |
getRunningActionCount() |
java.util.List |
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 java.util.List getRunningActions()
public int getRunningActionCount()
public java.util.List getActionStatisitcs()
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.