public abstract class ProcessToolsControllerCmdImpl extends ToolsControllerCommandImpl implements ProcessToolsControllerCmd, com.ibm.commerce.negotiation.util.AuctionConstants
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
ProcessToolsControllerCmdImpl()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.util.Hashtable | getAllExceptions()
Gets a list of all the exceptions generated by this process.
|
protected java.lang.String | getErrorTaskName()
Returns this command's error task name.
|
protected java.lang.Class | getProcessLock()
Returns the class objects for locking the current process.
|
protected void | handleException(java.lang.Exception e)
Formats and saves an ECException based on the input exception value.
|
boolean | isReadyToCallExecute()
Verifies that the this command is ready to be executed.
|
protected void | maintainMaxProcessLimit()
Ensures that there is no more than the specified maximum number of threads running simultaneously.
|
protected void | registerProcess(java.lang.Thread thread, ProcessRunner runner)
Registers a new process to be monitored by the controller process.
|
void | reset()
Resets current command to its initial state to allow for reuse.
|
void | setErrorTaskName(java.lang.String errorTaskName)
Sets this command's error task name
|
void | setRequestProperties(TypedProperty requestParam)
Saves the optional command parameter values.
|
protected void | waitForAll()
Waits for all the processes controlled by this command to either complete or end abnormally.
|
protected void | waitForThreads(int count)
Waits for the specified number of processes controlled by this command to either complete or end abnormally.
|
public static final java.lang.String COPYRIGHT
public ProcessToolsControllerCmdImpl()
public java.util.Hashtable getAllExceptions()
protected java.lang.String getErrorTaskName()
protected java.lang.Class getProcessLock()
protected void handleException(java.lang.Exception e)
public boolean isReadyToCallExecute()
protected void maintainMaxProcessLimit()
protected void registerProcess(java.lang.Thread thread, ProcessRunner runner)
public void reset()
public void setErrorTaskName(java.lang.String errorTaskName)
public void setRequestProperties(TypedProperty requestParam) throws ECApplicationException
protected void waitForAll()
protected void waitForThreads(int count)