|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.faban.harness.engine.OracleService
@Deprecated public final class OracleService
This class implements the service of configure/start/stop Oracle instances. it is used by the benchmark to start the OracleAgent on the server machine and perform these operations throught OracleAgent.
Field Summary | |
---|---|
protected String |
masterMachine
Deprecated. The master host name. |
Method Summary | |
---|---|
void |
clearLogs(String serverMachine)
Deprecated. Clear log files. |
void |
cmdServer(String command,
int priority)
Deprecated. Execute an SQL command. |
List |
getConfig(String serverMachine)
Deprecated. Get server configuration parameters from the configuration files. |
static OracleService |
getHandle()
Deprecated. Obtains an instance of the OracleService. |
void |
kill()
Deprecated. Kills all Oracle instances managed by this service. |
boolean |
restartListener(String serverMachine)
Deprecated. Restart listener. |
boolean |
restartServer(String serverMachine)
Deprecated. Start/restart server. |
void |
setConfig(String serverMachine,
List oracleParams)
Deprecated. Set server configuration parameters: update the two conf files. |
void |
setup(Run r,
CmdService c,
String oracleHome,
String oracleSid,
String[] serverMachines,
String[] allConfigs)
Deprecated. Sets up the Oracle service. |
boolean |
startListener(String serverMachine)
Deprecated. Start listener. |
void |
startStats(String serverMachine)
Deprecated. Start statistics collection. |
boolean |
stopListener(String serverMachine)
Deprecated. Stop the listener. |
boolean |
stopServer(String serverMachine)
Deprecated. Stop server. |
void |
stopStats(String serverMachine)
Deprecated. Stop statistics collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected String masterMachine
Method Detail |
---|
public static OracleService getHandle()
public void setup(Run r, CmdService c, String oracleHome, String oracleSid, String[] serverMachines, String[] allConfigs)
r
- The runc
- The command serviceoracleHome
- ORACLE_HOMEoracleSid
- ORACLE_SIDserverMachines
- The server systems to have this serviceallConfigs
- All the Oracle configuration parameterspublic List getConfig(String serverMachine)
serverMachine
- The server to get the configuration files
public void setConfig(String serverMachine, List oracleParams)
serverMachine
- The server systemoracleParams
- The Oracle parameters to usepublic boolean restartServer(String serverMachine)
serverMachine
- The server machine
public boolean stopServer(String serverMachine)
serverMachine
- The server machine
public boolean restartListener(String serverMachine)
serverMachine
- The server to restart the listener
public boolean startListener(String serverMachine)
serverMachine
- The server to start the listener
public boolean stopListener(String serverMachine)
serverMachine
- The server machine
public void startStats(String serverMachine)
serverMachine
- The server to start the stats collectionpublic void stopStats(String serverMachine)
serverMachine
- The system to stop statspublic void clearLogs(String serverMachine)
serverMachine
- The system to call to clear the log filepublic void kill()
public void cmdServer(String command, int priority)
command
- is a combination of user/passwd\ncommand to executepriority
- in which to run command (not used)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |