public static interface ManagementChannelInitialization.ManagementChannelShutdownHandle
Modifier and Type | Method and Description |
---|---|
boolean |
awaitCompletion(long timeout,
TimeUnit unit)
Await the completion of all currently active operations.
|
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 shutdown()
This method does not wait for previously submitted operations to be
completed. Use awaitCompletion
to do that.
void shutdownNow()
boolean awaitCompletion(long timeout, TimeUnit unit) throws InterruptedException
timeout
- the timeoutunit
- the time unitfalse
if the timeout was reached and there were still active operationsInterruptedException
Copyright © 2023 JBoss by Red Hat. All rights reserved.