public class ServerSuspendHandler extends Object implements OperationStepHandler
| Modifier and Type | Field and Description |
|---|---|
static SimpleOperationDefinition |
DEFINITION |
static SimpleOperationDefinition |
DOMAIN_DEFINITION |
static ServerSuspendHandler |
INSTANCE |
protected static String |
OPERATION_NAME |
protected static SimpleAttributeDefinition |
TIMEOUT
The timeout in seconds, the operation will block until either the timeout is reached or the server successfully suspends
-1 : wait indefinitely
0 : return immediately (default)
>0 : wait n seconds
|
| Constructor and Description |
|---|
ServerSuspendHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(OperationContext context,
org.jboss.dmr.ModelNode operation) |
protected static final String OPERATION_NAME
public static final ServerSuspendHandler INSTANCE
protected static final SimpleAttributeDefinition TIMEOUT
public static final SimpleOperationDefinition DEFINITION
public static final SimpleOperationDefinition DOMAIN_DEFINITION
public void execute(OperationContext context, org.jboss.dmr.ModelNode operation) throws OperationFailedException
execute in interface OperationStepHandlerOperationFailedExceptionCopyright © 2015 JBoss by Red Hat. All rights reserved.