public class Server extends java.lang.Object implements CassandraDaemon.Server
Modifier and Type | Class and Description |
---|---|
static class |
Server.Builder |
static class |
Server.ConnectionTracker |
static class |
Server.EventNotifier |
Modifier and Type | Field and Description |
---|---|
java.net.InetSocketAddress |
socket |
EncryptionOptions.TlsEncryptionPolicy |
tlsEncryptionPolicy |
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 final java.net.InetSocketAddress socket
public final EncryptionOptions.TlsEncryptionPolicy tlsEncryptionPolicy
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- The Apache Software Foundation