public class ScassandraFactory
extends java.lang.Object
| Constructor and Description |
|---|
ScassandraFactory() |
| Modifier and Type | Method and Description |
|---|---|
static Scassandra |
createServer()
Creates a Scassandra instance with 8042 as the binary port and 8043 as the admin port.
|
static Scassandra |
createServer(int binaryPort,
int adminPort) |
static Scassandra |
createServer(java.lang.String binaryListenAddress,
int binaryPort,
java.lang.String adminListenAddress,
int adminPort) |
public static final Scassandra createServer(int binaryPort, int adminPort)
binaryPort - Cassandra binary portadminPort - Scassandra admin portpublic static final Scassandra createServer(java.lang.String binaryListenAddress, int binaryPort, java.lang.String adminListenAddress, int adminPort)
binaryListenAddress - Defaults to localhost, override for example to 0.0.0.0binaryPort - Cassandra binary portadminListenAddress - Defaults to localhost, override for example to 0.0.0.0adminPort - Scassandra admin portpublic static final Scassandra createServer()