public class Server extends java.lang.Object implements CassandraDaemon.Server
Modifier and Type | Class and Description |
---|---|
protected static class |
Server.AbstractSecureIntializer |
static class |
Server.Builder |
static class |
Server.ConnectionTracker |
Modifier and Type | Field and Description |
---|---|
static int |
CURRENT_VERSION |
static int |
MIN_SUPPORTED_VERSION |
java.net.InetSocketAddress |
socket |
boolean |
useSSL |
static int |
VERSION_3 |
static int |
VERSION_4 |
Modifier and Type | Method and Description |
---|---|
int |
getConnectedClients() |
boolean |
isRunning()
Returns whether the server is currently running.
|
void |
start()
Start the server.
|
void |
stop()
Stop the server.
|
public static final int VERSION_3
public static final int VERSION_4
public static final int CURRENT_VERSION
public static final int MIN_SUPPORTED_VERSION
public final java.net.InetSocketAddress socket
public boolean useSSL
public void stop()
CassandraDaemon.Server
stop
in interface CassandraDaemon.Server
public boolean isRunning()
CassandraDaemon.Server
isRunning
in interface CassandraDaemon.Server
public void start()
CassandraDaemon.Server
start
in interface CassandraDaemon.Server
public int getConnectedClients()
Copyright © 2018 The Apache Software Foundation