protected String getTypeAsString() { String type = null; if (isNonRedundant()) { type = "NON_REDUNDANT"; } else if (isRedundant()) { type = "REDUNDANT"; } else { type = "PRIMARY"; } return type; }
if (status.isRedundant() || status.isPrimary()) { oldQueueServers.put(status, connection); } else {