|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sun.faban.harness.engine.MemcachedService
@Deprecated public final class MemcachedService
This class implements the service to start/stop Memcached instances. It can be used by any benchmark to manage memcached servers and perform these operations remotely using this Service.
Method Summary | |
---|---|
static MemcachedService |
getHandle()
Deprecated. Get the reference to the singleton object. |
boolean |
restartServers()
Deprecated. Restart all servers. |
void |
setup(String[] serverMachines,
int[] ports,
String parameters,
String binDir)
Deprecated. The setup method is called to set up a benchmark run. |
void |
setup(String[] serverMachines,
String binDir)
Deprecated. The setup method is called to set up a benchmark run. |
boolean |
startServers()
Deprecated. Start all memcached servers on configured hosts. |
boolean |
stopServers()
Deprecated. stop Servers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MemcachedService getHandle()
public void setup(String[] serverMachines, String binDir)
serverMachines
- - array specifying the memcached server machines.binDir
- - Memcached binary locationpublic void setup(String[] serverMachines, int[] ports, String parameters, String binDir)
serverMachines
- - array specifying the memcached server machines.ports
- - array specifying the ports for memcached - one per machine.parameters
- - any other memcached arguments (e.g. "-u mysql")binDir
- - Memcached binary locationpublic boolean startServers()
public boolean restartServers()
public boolean stopServers()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |