public class MemoryCommand extends SQLCommand
  MEMORY
     [GC]
     [CLEAR level]
     [LOG [log_name]]
     [DISABLE disable_feature]
     [ENABLE enable_feature]
  
  Usage/* Will Clear medimum level cache. */ MEMORY CLEAR 5 /* Will write the memory stats to the named logger */ MEMORY LOG "performance.test" /* Disable conservative mode */ MEMORY DISABLE conservative /* Enable conservative mode */ MEMORY ENABLE conservativeTHREAD MODE: SINGLE THREADED command
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | FEATURE_LOG_COMMANDSlogging of commands is a feature that can be disabled/enabled. | 
| static java.lang.String | FIELD_DISABLE_FEATUREDISABLE FEATURE keyword | 
| static java.lang.String | FIELD_ENABLE_FEATUREENABLE FEATURE keyword | 
| static java.lang.String | KEY_GCkeyword GC | 
CURSOR_SIZE| Constructor and Description | 
|---|
| MemoryCommand(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)get the column type | 
| java.lang.String | getRecordID(int row)the record ID | 
| java.lang.Object | getValue(int row,
        int col)get the value | 
appendResult, appendResult, getCursorName, getRecordKey, isExecuteOnlyexecute, extMakeThreadName, getConnection, getPattern, getRawTitle, getTitle, makeThreadName, recordCall, setTitleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRawTitlepublic static final java.lang.String KEY_GC
public static final java.lang.String FIELD_DISABLE_FEATURE
public static final java.lang.String FIELD_ENABLE_FEATURE
public static final java.lang.String FEATURE_LOG_COMMANDS
public MemoryCommand(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 columnpublic java.lang.String getRecordID(int row)
row - the rowpublic java.lang.Object getValue(int row,
                                 int col)
row - the rowcol - the colstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.