public enum ServerChangeStatus extends Enum<ServerChangeStatus>
| Enum Constant and Description | 
|---|
| ALREADY_EXISTSFor an AddServer request, the server to add already exists. | 
| DOES_NOT_EXISTFor a RemoveServer request, the server to remove does not exist. | 
| INVALID_REQUESTSome part of the request is invalid. | 
| NO_LEADERNo leader exists to process the request. | 
| NOT_SUPPORTEDAn unsupported request, for example removing the leader in a single node cluster. | 
| OKRequest successfully completed. | 
| PRIOR_REQUEST_CONSENSUS_TIMEOUTThe leader could not process the request due to a prior request that timed out while trying to
 achieve replication consensus. | 
| TIMEOUTFor an AddServer request, the leader timed out trying to install a snapshot on the new server. | 
| Modifier and Type | Method and Description | 
|---|---|
| static ServerChangeStatus | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static ServerChangeStatus[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final ServerChangeStatus OK
public static final ServerChangeStatus NO_LEADER
public static final ServerChangeStatus TIMEOUT
public static final ServerChangeStatus ALREADY_EXISTS
public static final ServerChangeStatus DOES_NOT_EXIST
public static final ServerChangeStatus PRIOR_REQUEST_CONSENSUS_TIMEOUT
public static final ServerChangeStatus NOT_SUPPORTED
public static final ServerChangeStatus INVALID_REQUEST
public static ServerChangeStatus[] values()
for (ServerChangeStatus c : ServerChangeStatus.values()) System.out.println(c);
public static ServerChangeStatus valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2019 OpenDaylight. All rights reserved.