orca.drivers
Class ActionOverlapTool
java.lang.Object
orca.drivers.ActionOverlapTool
- Direct Known Subclasses:
- LocalDiskOverlapTool, MachineOverlapTool, VmmOverlapTool
public abstract class ActionOverlapTool
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
myAction
protected ActionOverlapTool.ThreadLocalAction myAction
- Action the current thread is executing.
pending
protected java.util.Hashtable<java.lang.String,Action> pending
- Map of currently executing actions for a VM to the thread processing them
logger
protected LoggingTool logger
ActionOverlapTool
public ActionOverlapTool()
- Creates a new instance of the tool.
actionStart
public int actionStart(java.lang.String actionKey,
java.lang.Integer actionId)
- Handles an incoming action.
- Parameters:
actionKey - key representing the action
- Returns:
- 0, if the action should proceed, negative number if the action
cannot proceed. If the result is negative, actionStop does not
have to be called.
actionFinish
public void actionFinish(int code,
java.util.Properties out)
handleOverlapAction
public abstract int handleOverlapAction(java.lang.String actionKey,
Action previous,
Action current)
Copyright © 2007 Network/Internet Computing Lab. All Rights Reserved.