Class CommunicationDiscoveryEventListener
- java.lang.Object
-
- org.apache.ignite.spi.communication.tcp.internal.CommunicationDiscoveryEventListener
-
- All Implemented Interfaces:
EventListener,GridLocalEventListener,HighPriorityListener
public class CommunicationDiscoveryEventListener extends Object implements GridLocalEventListener, HighPriorityListener
Listener on discovery events.
-
-
Constructor Summary
Constructors Constructor Description CommunicationDiscoveryEventListener(ConnectionClientPool clientPool, TcpCommunicationMetricsListener metricsLsnr)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmetricsListener(@Nullable TcpCommunicationMetricsListener metricsLsnr)voidonEvent(Event evt)Local event callback.intorder()
-
-
-
Constructor Detail
-
CommunicationDiscoveryEventListener
public CommunicationDiscoveryEventListener(ConnectionClientPool clientPool, TcpCommunicationMetricsListener metricsLsnr)
- Parameters:
clientPool- Client pool.metricsLsnr- Metrics listener.
-
-
Method Detail
-
onEvent
public void onEvent(Event evt)
Local event callback.- Specified by:
onEventin interfaceGridLocalEventListener- Parameters:
evt- local grid event.
-
order
public int order()
- Specified by:
orderin interfaceHighPriorityListener- Returns:
- Order.
-
metricsListener
public void metricsListener(@Nullable @Nullable TcpCommunicationMetricsListener metricsLsnr)- Parameters:
metricsLsnr- New statistics.
-
-