public interface ManagementRequestContext<A>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
ManagementRequestContext.AsyncTask<A> |
| Modifier and Type | Method and Description |
|---|---|
void |
executeAsync(ManagementRequestContext.AsyncTask<A> task)
Execute an async task.
|
void |
executeAsync(ManagementRequestContext.AsyncTask<A> task,
boolean cancellable)
Execute an async task.
|
void |
executeAsync(ManagementRequestContext.AsyncTask<A> task,
boolean cancellable,
Executor executor)
Execute an async task.
|
void |
executeAsync(ManagementRequestContext.AsyncTask<A> task,
Executor executor)
Execute an async task.
|
A |
getAttachment()
Get the attachment.
|
org.jboss.remoting3.Channel |
getChannel()
Get the underlying channel.
|
Integer |
getOperationId()
Get the current batch id for this operation.
|
ManagementProtocolHeader |
getRequestHeader()
Get the protocol header.
|
FlushableDataOutput |
writeMessage(ManagementProtocolHeader header)
Write a new message.
|
Integer getOperationId()
A getAttachment()
ActiveOperation.getAttachment()nullorg.jboss.remoting3.Channel getChannel()
ManagementProtocolHeader getRequestHeader()
void executeAsync(ManagementRequestContext.AsyncTask<A> task)
executeAsync(task, true).task - the taskvoid executeAsync(ManagementRequestContext.AsyncTask<A> task, boolean cancellable)
task - the taskcancellable - true if the task can be cancelled as part of overall request cancellationvoid executeAsync(ManagementRequestContext.AsyncTask<A> task, Executor executor)
executeAsync(task, true, executor).task - the taskexecutor - the executorvoid executeAsync(ManagementRequestContext.AsyncTask<A> task, boolean cancellable, Executor executor)
task - the taskcancellable - true if the task can be cancelled as part of overall request cancellationexecutor - the executorFlushableDataOutput writeMessage(ManagementProtocolHeader header) throws IOException
header - the protocol headerIOExceptionCopyright © 2014 JBoss by Red Hat. All rights reserved.