Class LifecycleManager (2.0.0)

public final class LifecycleManager

Inheritance

java.lang.Object > LifecycleManager

Static Methods

getInstance()

public static LifecycleManager getInstance()
Returns
Type Description
LifecycleManager

Methods

beginShutdown(long arg0)

public synchronized void beginShutdown(long arg0)
Parameter
Name Description
arg0 long

getRemainingShutdownTime()

public long getRemainingShutdownTime()
Returns
Type Description
long

interruptAllRequests()

public void interruptAllRequests()

isShuttingDown()

public boolean isShuttingDown()
Returns
Type Description
boolean

setShutdownHook(LifecycleManager.ShutdownHook arg0)

public synchronized void setShutdownHook(LifecycleManager.ShutdownHook arg0)
Parameter
Name Description
arg0 ShutdownHook