public static enum ServiceHandler.ResumeReason extends Enum<ServiceHandler.ResumeReason>
Enum Constant and Description |
---|
APPLICATION_RECOVERED
The service is resuming because an application error has been
resolved (i.e.
|
CONNECTED
The service is resuming as an active connection with the Diffusion server
has been established.
|
RECOVERED
The service is resuming as, connection with a server was lost, and
now it's recovered.
|
REQUESTED
The service is resuming as resume has been requested from the
Diffusion Console.
|
Modifier and Type | Method and Description |
---|---|
static ServiceHandler.ResumeReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceHandler.ResumeReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceHandler.ResumeReason CONNECTED
public static final ServiceHandler.ResumeReason RECOVERED
public static final ServiceHandler.ResumeReason REQUESTED
public static final ServiceHandler.ResumeReason APPLICATION_RECOVERED
ServiceHandler
has reported a
GREEN
or
AMBER
status after having
previously reported a RED
status, or
having experienced a timeout).public static ServiceHandler.ResumeReason[] values()
for (ServiceHandler.ResumeReason c : ServiceHandler.ResumeReason.values()) System.out.println(c);
public static ServiceHandler.ResumeReason 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 © 2024 DiffusionData Limited. All rights reserved.