@Override
  public synchronized void setAvatar(Avatar avatar, boolean force)
      throws IOException {
    try {
      if (avatar == currentAvatar) {
        LOG.info("Failover: Trying to change avatar to " + avatar +
                 " but am already in that state.");
        return;
      }
      quiesceForFailover(force);
      performFailover();
    } catch (IOException e) {
      LOG.fatal("Exception when setting avatar", e);
      throw e;
    }
  }
@ Override public synchronized void setAvatar ( Avatar avatar , boolean force ) throws IOException { try { if ( avatar == currentAvatar ) { LOG . info ( "Failover: Trying to change avatar to " + avatar + " but am already in that state." ) ; return ; } quiesceForFailover ( force ) ; performFailover ( ) ; } catch ( IOException e ) { LOG . fatal ( "Exception when setting avatar" , e ) ; throw e ; } }
@deprecated