public class UnifiedAggregateEndpointManager extends Object implements AggregateEndpointManager
Constructor and Description |
---|
UnifiedAggregateEndpointManager(TcpIpEndpointManager unified,
Map<EndpointQualifier,EndpointManager<TcpIpConnection>> views) |
Modifier and Type | Method and Description |
---|---|
void |
addConnectionListener(ConnectionListener listener)
Registers a ConnectionListener.
|
Collection<TcpIpConnection> |
getActiveConnections() |
Collection<TcpIpConnection> |
getConnections() |
EndpointManager<TcpIpConnection> |
getEndpointManager(EndpointQualifier qualifier) |
void |
reset(boolean cleanListeners) |
public UnifiedAggregateEndpointManager(TcpIpEndpointManager unified, Map<EndpointQualifier,EndpointManager<TcpIpConnection>> views)
public Collection<TcpIpConnection> getActiveConnections()
getActiveConnections
in interface AggregateEndpointManager
public Collection<TcpIpConnection> getConnections()
getConnections
in interface AggregateEndpointManager
public EndpointManager<TcpIpConnection> getEndpointManager(EndpointQualifier qualifier)
public void reset(boolean cleanListeners)
public void addConnectionListener(ConnectionListener listener)
ConnectionListenable
addConnectionListener
in interface ConnectionListenable
listener
- the ConnectionListener to add.Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.