distributed/src/main/java/com/orientechnologies/orient/server/hazelcast/OHazelcastPlugin.java
@Override
  public void memberRemoved(final MembershipEvent iEvent) {
    try {
      updateLastClusterChange();

      if (iEvent.getMember() == null)
        return;

      final String nodeLeftName = getNodeName(iEvent.getMember());
      if (nodeLeftName == null)
        return;

      removeServer(nodeLeftName, true);

    } catch (HazelcastInstanceNotActiveException | RetryableHazelcastException e) {
      OLogManager.instance().error(this, "Hazelcast is not running", e);
    } catch (Exception e) {
      OLogManager.instance().error(this, "Error on removing the server '%s'", e, getNodeName(iEvent.getMember()));
    }
  }
@Override
  public void memberRemoved(final MembershipEvent iEvent) {
    try {
      updateLastClusterChange();

      if (iEvent.getMember() == null)
        return;

      final String nodeLeftName = getNodeName(iEvent.getMember());
      if (nodeLeftName == null)
        return;

      removeServer(nodeLeftName, true);

    } catch (HazelcastInstanceNotActiveException | RetryableHazelcastException e) {
      OLogManager.instance().error(this, "Hazelcast is not running", e);
    } catch (Exception e) {
      OLogManager.instance().error(this, "Error on removing the server '%s'", e, getNodeName(iEvent.getMember()));
    }
  }
@ Override public void memberRemoved ( final MembershipEvent iEvent ) { try { updateLastClusterChange ( ) ; if ( iEvent . getMember ( ) == null ) return ; final String nodeLeftName = getNodeName ( iEvent . getMember ( ) ) ; if ( nodeLeftName == null ) return ; removeServer ( nodeLeftName , true ) ; } catch ( HazelcastInstanceNotActiveException | RetryableHazelcastException e ) { OLogManager . instance ( ) . error ( this , "Hazelcast is not running" , e ) ; } catch ( Exception e ) { OLogManager . instance ( ) . error ( this , "Error on removing the server '%s'" , e , getNodeName ( iEvent . getMember ( ) ) ) ; } }
Removes the node map entry.
Removes the node map entry .