|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
@Deprecated public interface OracleAgent
An agent for controlling the Oracle database.
| Method Summary | |
|---|---|
boolean |
checkListenerStatus()
Deprecated. Checks the listener status. |
void |
clearLogs()
Deprecated. Clear log files. |
void |
configure(Run run,
String oracleHome,
String oracleSid,
String[] allConfigs)
Deprecated. Configures the agent. |
boolean |
execSQL(String sql)
Deprecated. Executes an SQL statement. |
List |
getConfig(String serverID)
Deprecated. This method get the configure parameters of the oracle instance. |
void |
kill()
Deprecated. Kills the Oracle instance. |
void |
setConfig(String serverID,
List oracleParams)
Deprecated. This method set the configure parameters of the oracle instance. |
boolean |
start(String serverID)
Deprecated. Start an Oracle instance. |
boolean |
startListener()
Deprecated. Start the Oracle listener. |
void |
startStats()
Deprecated. Start gathering statistics for an instance. |
boolean |
stop(String serverID)
Deprecated. Stop an Oracle instance. |
boolean |
stopListener()
Deprecated. Stop an Oracle listener. |
void |
stopStats()
Deprecated. Stop gathering statistics fpr an instance. |
| Method Detail |
|---|
List getConfig(String serverID)
throws IOException
serverID - Instance name
IOException - An I/O error occurred
void setConfig(String serverID,
List oracleParams)
throws IOException
serverID - Instance nameoracleParams - The parameter list
IOException - An I/O error occurred
boolean start(String serverID)
throws Exception
serverID - Instance name
Exception - An error occurred in the process
boolean stop(String serverID)
throws Exception
serverID - Instance name
Exception - An error occurred in the process
boolean startListener()
throws Exception
Exception - An error occurred in the process
boolean stopListener()
throws Exception
Exception - An error occurred in the process
boolean checkListenerStatus()
throws Exception
Exception - An error occurred in the process
void startStats()
throws Exception
Exception - An error occurred in the process
void stopStats()
throws Exception
Exception - An error occurred in the process
void clearLogs()
throws Exception
Exception - An error occurred in the process
void configure(Run run,
String oracleHome,
String oracleSid,
String[] allConfigs)
throws Exception
run - The benchmark runoracleHome - ORACLE_HOMEoracleSid - ORACLE_SIDallConfigs - Pathnames to all config files
Exception - An error occurred in the process
void kill()
throws Exception
Exception - An error occurred in the process
boolean execSQL(String sql)
throws Exception
sql - The statement
Exception - An error occurred in the process
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||