public static enum ServiceHandler.PauseReason extends Enum<ServiceHandler.PauseReason>
| Enum Constant and Description | 
|---|
APPLICATION_ERROR
The service is pausing because an error was returned or notified by
 the application, or a timeout has occurred waiting for a response
 from the application via a service handler. 
 | 
DISCONNECTED
The service is pausing as framework has become disconnected from
 Diffusion. 
 | 
REQUESTED
The service is pausing on request from the Diffusion console or set
 in config. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static ServiceHandler.PauseReason | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static ServiceHandler.PauseReason[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final ServiceHandler.PauseReason DISCONNECTED
public static final ServiceHandler.PauseReason REQUESTED
public static final ServiceHandler.PauseReason APPLICATION_ERROR
public static ServiceHandler.PauseReason[] values()
for (ServiceHandler.PauseReason c : ServiceHandler.PauseReason.values()) System.out.println(c);
public static ServiceHandler.PauseReason 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.