private void logIfConnectionToEndpointIsMissing(long now, Member member) {
        long heartbeatTime = heartbeatFailureDetector.lastHeartbeat(member);
        if ((now - heartbeatTime) >= heartbeatIntervalMillis * HEART_BEAT_INTERVAL_FACTOR) {
            Connection conn = node.getEndpointManager(MEMBER).getOrConnect(member.getAddress());
            if (conn == null || !conn.isAlive()) {
                logger.warning("This node does not have a connection to " + member);
            }
        }
    }
private void logIfConnectionToEndpointIsMissing ( long now , Member member ) { long heartbeatTime = heartbeatFailureDetector . lastHeartbeat ( member ) ; if ( ( now - heartbeatTime ) >= heartbeatIntervalMillis * HEART_BEAT_INTERVAL_FACTOR ) { Connection conn = node . getEndpointManager ( MEMBER ) . getOrConnect ( member . getAddress ( ) ) ; if ( conn == null || ! conn . isAlive ( ) ) { logger . warning ( "This node does not have a connection to " + member ) ; } } }
Logs a warning if the {@code member} hasn't sent a heartbeat in {@link #HEART_BEAT_INTERVAL_FACTOR} heartbeat
intervals and there is no live connection to the member