public abstract class ActionOverlapTool
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
protected class |
ActionOverlapTool.ActionWrapper |
protected class |
ActionOverlapTool.ThreadLocalAction |
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.log4j.Logger |
logger |
protected ActionOverlapTool.ThreadLocalAction |
myAction
Action the current thread is executing.
|
protected java.util.Hashtable<java.lang.String,Action> |
pending
Map of currently executing actions for a VM to the thread processing them
|
| Constructor and Description |
|---|
ActionOverlapTool()
Creates a new instance of the tool.
|
| Modifier and Type | Method and Description |
|---|---|
void |
actionFinish(int code,
java.util.Properties out) |
int |
actionStart(java.lang.String actionKey,
java.lang.Integer actionId)
Handles an incoming action.
|
abstract int |
handleOverlapAction(java.lang.String actionKey,
Action previous,
Action current) |
protected ActionOverlapTool.ThreadLocalAction myAction
protected java.util.Hashtable<java.lang.String,Action> pending
protected org.apache.log4j.Logger logger
public int actionStart(java.lang.String actionKey,
java.lang.Integer actionId)
actionKey - key representing the actionactionId - actionIdpublic void actionFinish(int code,
java.util.Properties out)
Copyright © 2018 RENCI. All Rights Reserved.