public class ProcessCommand extends SQLCommand
PROCESS [LIST] |
[KILL kill_id] |
[CANCEL process_id] |
[SHOW show_id] |
[PAUSE pause_id] |
[RESUME resume_id] |
[START JAVA_CLASS class_path [PARAMS process_params[,...]] [REPEAT repeat_flag] [INTERVAL repeat_every] [DELAY delay_start] [STARTTIME start]]
Usage/* list the running processes on a server */ PROCESS LIST; /* kill process 6 */ PROCESS KILL 6; /* start java_class */ PROCESS START JAVA_CLASS com.aspc.Admin.jmx.MatrixTask PARAMS dev_test REPEAT true INTERVAL '2 MINS'THREAD MODE: SINGLE THREADED command
CURSOR_SIZE| Constructor and Description |
|---|
ProcessCommand(Connection connection,
Pattern pattern)
std.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
execute(Parser p)
execute the command.
|
java.lang.String |
getColumnName(int col)
the column name
|
java.lang.String |
getColumnType(int col)
Gets the column type for the given column index, starting at one
|
java.lang.String |
getRecordID(int row)
the record ID
|
java.lang.Object |
getValue(int row,
int col)
the value for this row, column
|
appendResult, appendResult, getCursorName, getRecordKey, isExecuteOnlyexecute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRawTitlepublic ProcessCommand(Connection connection, Pattern pattern)
connection - the connectionpattern - the patternprotected void execute(Parser p) throws java.lang.Exception
public java.lang.String getColumnName(int col)
col - the columnpublic java.lang.String getColumnType(int col)
col - the column indexpublic java.lang.String getRecordID(int row)
row - the row indexpublic java.lang.Object getValue(int row,
int col)
row - the row indexcol - the columnstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.