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(ManagementChannelInitialization.ManagementChannelShutdownHandle tracker) |
void |
unregisterTracker(ManagementChannelInitialization.ManagementChannelShutdownHandle tracker) |
public boolean isShutdown()
public void prepareShutdown()
public void registerTracker(ManagementChannelInitialization.ManagementChannelShutdownHandle tracker)
public void unregisterTracker(ManagementChannelInitialization.ManagementChannelShutdownHandle tracker)
public boolean awaitShutdown(long timeout, TimeUnit timeUnit) throws InterruptedException
InterruptedException
Copyright © 2023 JBoss by Red Hat. All rights reserved.