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 |
static class |
Server.EndpointPayloadTracker |
Modifier and Type | Field and Description |
---|---|
java.net.InetSocketAddress |
socket |
boolean |
useSSL |
Modifier and Type | Method and Description |
---|---|
void |
clearConnectionHistory() |
int |
countConnectedClients() |
java.util.Map<java.lang.String,java.lang.Integer> |
countConnectedClientsByUser() |
java.util.List<ConnectedClient> |
getConnectedClients() |
boolean |
isRunning()
Returns whether the server is currently running.
|
java.util.List<ClientStat> |
recentClientStats() |
void |
start()
Start the server.
|
void |
stop()
Stop the server.
|
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 countConnectedClients()
public java.util.Map<java.lang.String,java.lang.Integer> countConnectedClientsByUser()
public java.util.List<ConnectedClient> getConnectedClients()
public java.util.List<ClientStat> recentClientStats()
public void clearConnectionHistory()
clearConnectionHistory
in interface CassandraDaemon.Server
Copyright © 2009-2020 The Apache Software Foundation