protected void checkHealth ( long threshold , NodeHealthChecker healthChecker ) { final int state = this . state ; if ( anyAreSet ( state , REMOVED | ACTIVE_PING ) ) { return ; } healthCheckPing ( threshold , healthChecker ) ; }
Check the health of the node and try to ping it if necessary .