@Override protected void doRunInLifecycle() { for (Map.Entry<DiscoveryNode, Transport.Connection> entry : connectedNodes.entrySet()) { Transport.Connection connection = entry.getValue(); if (connection.sendPing() == false) { logger.warn("attempted to send ping to connection without support for pings [{}]", connection); } } }
@Override protected void doRunInLifecycle() { for (Map.Entry<DiscoveryNode, Transport.Connection> entry : connectedNodes.entrySet()) { Transport.Connection connection = entry.getValue(); if (connection.sendPing() == false) { logger.warn("attempted to send ping to connection without support for pings [{}]", connection); } } }
@Override public boolean sendPing() { return proxyConnection.sendPing(); }