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.Serverstop in interface CassandraDaemon.Serverpublic boolean isRunning()
CassandraDaemon.ServerisRunning in interface CassandraDaemon.Serverpublic void start()
CassandraDaemon.Serverstart in interface CassandraDaemon.Serverpublic int getConnectedClients()
Copyright © 2016 The Apache Software Foundation