public interface ManagementMessageHandler
Modifier and Type | Method and Description |
---|---|
boolean |
awaitCompletion(long timeout,
TimeUnit unit)
Await the completion of all currently active operations.
|
void |
handleMessage(org.jboss.remoting3.Channel channel,
DataInput input,
ManagementProtocolHeader header)
Handle a message on the channel.
|
void |
shutdown()
Don't allow new operations, but still allow requests for existing ones.
|
void |
shutdownNow()
This will attempt to cancel all active operations, without waiting for their completion.
|
void handleMessage(org.jboss.remoting3.Channel channel, DataInput input, ManagementProtocolHeader header) throws IOException
channel
- the channelinput
- the data inputheader
- the headerIOException
void shutdown()
void shutdownNow()
boolean awaitCompletion(long timeout, TimeUnit unit) throws InterruptedException
timeout
- the timeoutunit
- the time unit
false if the timeout was reached and there were still active operationsInterruptedException
Copyright © 2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.