/** * @param srv the server to compare * @return indication if the ServerAddress is the current Master/Primary */ public boolean isMaster(ServerAddress srv) { if (srv == null) return false; return srv.equals(getMaster()); }