public void markAsDead ( Node node ) { if ( ! NodeStatus . DEAD . equals ( node . getStatus ( ) ) ) { socketToNodeMap . get ( Utils . toKey ( node ) ) . markAsDead ( ) ; sendEvent ( node , NodeEventType . MARKED_AS_DEAD ) ; } }
Marks the node as DEAD in case of its status is not DEAD .