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) |
AdvancedNetworkStats |
getInboundNetworkStats()
Gets network stats for incoming traffic.
|
AdvancedNetworkStats |
getOutboundNetworkStats()
Gets network stats for outgoing traffic.
|
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.public AdvancedNetworkStats getInboundNetworkStats()
AggregateEndpointManager
getInboundNetworkStats
in interface AggregateEndpointManager
null
if Advanced Networking is disabledpublic AdvancedNetworkStats getOutboundNetworkStats()
AggregateEndpointManager
getOutboundNetworkStats
in interface AggregateEndpointManager
null
if Advanced Networking is disabledCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.