@Deprecated public interface OracleAgent extends Remote
Modifier and Type | Method and Description |
---|---|
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.
|
List getConfig(String serverID) throws IOException
serverID
- Instance nameIOException
- An I/O error occurredvoid setConfig(String serverID, List oracleParams) throws IOException
serverID
- Instance nameoracleParams
- The parameter listIOException
- An I/O error occurredboolean start(String serverID) throws Exception
serverID
- Instance nameException
- An error occurred in the processboolean stop(String serverID) throws Exception
serverID
- Instance nameException
- 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 filesException
- An error occurred in the processvoid kill() throws Exception
Exception
- An error occurred in the process