public interface ModelControllerClient extends Closeable
Modifier and Type | Interface and Description |
---|---|
static class |
ModelControllerClient.Factory |
Modifier and Type | Method and Description |
---|---|
ModelNode |
execute(ModelNode operation)
Execute an operation synchronously.
|
ModelNode |
execute(ModelNode operation,
OperationMessageHandler messageHandler)
Execute an operation synchronously, optionally receiving progress reports.
|
ModelNode |
execute(Operation operation)
Execute an operation synchronously.
|
ModelNode |
execute(Operation operation,
OperationMessageHandler messageHandler)
Execute an operation synchronously, optionally receiving progress reports.
|
org.jboss.threads.AsyncFuture<ModelNode> |
executeAsync(ModelNode operation,
OperationMessageHandler messageHandler)
Execute an operation.
|
org.jboss.threads.AsyncFuture<ModelNode> |
executeAsync(Operation operation,
OperationMessageHandler messageHandler)
Execute an operation.
|
ModelNode execute(ModelNode operation) throws IOException
operation
- the operation to executeIOException
- if an I/O error occurs while executing the operationModelNode execute(Operation operation) throws IOException
OperationAttachments.isAutoCloseStreams()
.operation
- the operation to executeIOException
- if an I/O error occurs while executing the operationModelNode execute(ModelNode operation, OperationMessageHandler messageHandler) throws IOException
operation
- the operation to executemessageHandler
- the message handler to use for operation progress reporting, or null
for noneIOException
- if an I/O error occurs while executing the operationModelNode execute(Operation operation, OperationMessageHandler messageHandler) throws IOException
OperationAttachments.isAutoCloseStreams()
.operation
- the operation to executemessageHandler
- the message handler to use for operation progress reporting, or null
for noneIOException
- if an I/O error occurs while executing the operationorg.jboss.threads.AsyncFuture<ModelNode> executeAsync(ModelNode operation, OperationMessageHandler messageHandler)
operation
- the operation to executemessageHandler
- the message handler to use for operation progress reporting, or null
for noneorg.jboss.threads.AsyncFuture<ModelNode> executeAsync(Operation operation, OperationMessageHandler messageHandler)
OperationAttachments.isAutoCloseStreams()
.operation
- the operation to executemessageHandler
- the message handler to use for operation progress reporting, or null
for noneCopyright © 2014 JBoss by Red Hat. All Rights Reserved.