public enum ServiceState extends Enum<ServiceState>
ServiceState
.Enum Constant and Description |
---|
ERROR
This state is used only by the monitored services for reactive and proactive reporting.
|
OPERATIONAL
This state is used only by the monitored services for reactive and proactive reporting.
|
RECOVERED
This state is used only by the monitor implementation and not by monitored services.
|
STARTING
Move to this state when registration call is received from monitored service.
|
SUSPECTED
This state is used only by the monitor implementation and not by monitored services.
|
UNREGISTERED
This state is used only by the monitor implementation and not by monitored services.
|
Modifier and Type | Method and Description |
---|---|
static ServiceState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceState UNREGISTERED
public static final ServiceState STARTING
public static final ServiceState OPERATIONAL
public static final ServiceState SUSPECTED
public static final ServiceState RECOVERED
public static final ServiceState ERROR
public static ServiceState[] values()
for (ServiceState c : ServiceState.values()) System.out.println(c);
public static ServiceState 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 © 2020 OpenDaylight. All rights reserved.