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) |
AdvancedNetworkStats |
getInboundNetworkStats()
Gets network stats for incoming traffic.
|
AdvancedNetworkStats |
getOutboundNetworkStats()
Gets network stats for outgoing traffic.
|
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.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 © 2022 Hazelcast, Inc.. All Rights Reserved.