Package org.apache.cassandra.transport
Class Server
java.lang.Object
org.apache.cassandra.transport.Server
- All Implemented Interfaces:
CassandraDaemon.Server
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Field Summary
Fields -
Method Summary
-
Field Details
-
socket
-
tlsEncryptionPolicy
-
-
Method Details
-
stop
public void stop()Description copied from interface:CassandraDaemon.ServerStop the server. This method should be able to stop server started through start(). Should throw a RuntimeException if the server cannot be stopped- Specified by:
stopin interfaceCassandraDaemon.Server
-
stop
public void stop(boolean force) -
isRunning
public boolean isRunning()Description copied from interface:CassandraDaemon.ServerReturns whether the server is currently running.- Specified by:
isRunningin interfaceCassandraDaemon.Server
-
start
public void start()Description copied from interface:CassandraDaemon.ServerStart the server. This method shoud be able to restart a server stopped through stop(). Should throw a RuntimeException if the server cannot be started- Specified by:
startin interfaceCassandraDaemon.Server
-
countConnectedClients
public int countConnectedClients() -
countConnectedClientsByUser
-
getConnectedClients
-
recentClientStats
-
clearConnectionHistory
public void clearConnectionHistory()- Specified by:
clearConnectionHistoryin interfaceCassandraDaemon.Server
-