public class DefaultAggregateEndpointManager extends Object implements AggregateEndpointManager
Constructor and Description |
---|
DefaultAggregateEndpointManager(ConcurrentMap<EndpointQualifier,EndpointManager<TcpIpConnection>> endpointManagers) |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionListener(ConnectionListener listener)
Registers a ConnectionListener.
|
Set<TcpIpConnection> |
getActiveConnections() |
Set<TcpIpConnection> |
getConnections() |
EndpointManager<TcpIpConnection> |
getEndpointManager(EndpointQualifier qualifier) |
public DefaultAggregateEndpointManager(ConcurrentMap<EndpointQualifier,EndpointManager<TcpIpConnection>> endpointManagers)
public Set<TcpIpConnection> getActiveConnections()
getActiveConnections
in interface AggregateEndpointManager
public Set<TcpIpConnection> getConnections()
getConnections
in interface AggregateEndpointManager
public EndpointManager<TcpIpConnection> getEndpointManager(EndpointQualifier qualifier)
public void addConnectionListener(ConnectionListener listener)
ConnectionListenable
addConnectionListener
in interface ConnectionListenable
listener
- the ConnectionListener to add.Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.