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 |
|---|---|
java.net.InetSocketAddress |
socket |
boolean |
useSSL |
| 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 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 © 2018 The Apache Software Foundation