com.hazelcast.nio
Interface ConnectionManager
- All Known Implementing Classes:
- TcpIpConnectionManager
public interface ConnectionManager
Responsible for managing Connection
objects.
getCurrentClientConnections
int getCurrentClientConnections()
getConnectionCount
int getConnectionCount()
getAllTextConnections
int getAllTextConnections()
getActiveConnectionCount
int getActiveConnectionCount()
getConnection
Connection getConnection(Address address)
getOrConnect
Connection getOrConnect(Address address)
getOrConnect
Connection getOrConnect(Address address,
boolean silent)
registerConnection
boolean registerConnection(Address address,
Connection connection)
destroyConnection
void destroyConnection(Connection conn)
shutdown
void shutdown()
start
void start()
restart
void restart()
addConnectionListener
void addConnectionListener(ConnectionListener connectionListener)
dumpPerformanceMetrics
void dumpPerformanceMetrics(StringBuffer sb)
- Dumps all kinds of performance metrics. It is up to the implementation to add anything.
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.