|
|||||||||
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 occurredvoid setConfig(String serverID, List oracleParams) throws IOException
serverID
- Instance nameoracleParams
- The parameter list
IOException
- An I/O error occurredboolean start(String serverID) throws Exception
serverID
- Instance name
Exception
- An error occurred in the processboolean stop(String serverID) throws Exception
serverID
- Instance name
Exception
- An error occurred in the processboolean startListener() throws Exception
Exception
- An error occurred in the processboolean stopListener() throws Exception
Exception
- An error occurred in the processboolean checkListenerStatus() throws Exception
Exception
- An error occurred in the processvoid startStats() throws Exception
Exception
- An error occurred in the processvoid stopStats() throws Exception
Exception
- An error occurred in the processvoid clearLogs() throws Exception
Exception
- An error occurred in the processvoid 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 processvoid kill() throws Exception
Exception
- An error occurred in the processboolean 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 |