public class ManagementRequestTracker extends Object
#prepareShutdown and then awaitShutdown() to prevent
remoting services to shut down before active management requests could complete.| Modifier and Type | Method and Description |
|---|---|
boolean |
awaitShutdown(long timeout,
TimeUnit timeUnit) |
boolean |
isShutdown() |
void |
prepareShutdown() |
void |
registerTracker(org.jboss.as.protocol.mgmt.support.ManagementChannelShutdownHandle tracker) |
void |
unregisterTracker(org.jboss.as.protocol.mgmt.support.ManagementChannelShutdownHandle tracker) |
public boolean isShutdown()
public void prepareShutdown()
public void registerTracker(org.jboss.as.protocol.mgmt.support.ManagementChannelShutdownHandle tracker)
public void unregisterTracker(org.jboss.as.protocol.mgmt.support.ManagementChannelShutdownHandle tracker)
public boolean awaitShutdown(long timeout,
TimeUnit timeUnit)
throws InterruptedException
InterruptedExceptionCopyright © 2021 JBoss by Red Hat. All rights reserved.