@Deprecated public class ShutdownManager extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ShutdownManager.Constraint
Deprecated.
|
static interface |
ShutdownManager.Shutdowner
Deprecated.
Implementers of this interface will be notified when the server is shutting down.
|
| Constructor and Description |
|---|
ShutdownManager()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addConstraint(ShutdownManager.Shutdowner lhs,
ShutdownManager.Constraint constraint,
ShutdownManager.Shutdowner rhs)
Deprecated.
Adds a constraint that a certain shutdowner must be run before another.
|
boolean |
isShuttingDown()
Deprecated.
Returns true if we're in the process of shutting down.
|
void |
queueShutdown()
Deprecated.
Queues up a request to shutdown on the dobjmgr thread.
|
void |
registerShutdowner(ShutdownManager.Shutdowner downer)
Deprecated.
Registers an entity that will be notified when the server is shutting down.
|
void |
unregisterShutdowner(ShutdownManager.Shutdowner downer)
Deprecated.
Unregisters the shutdowner from hearing when the server is shutdown.
|
public void registerShutdowner(ShutdownManager.Shutdowner downer)
public void unregisterShutdowner(ShutdownManager.Shutdowner downer)
public void addConstraint(ShutdownManager.Shutdowner lhs, ShutdownManager.Constraint constraint, ShutdownManager.Shutdowner rhs)
public void queueShutdown()
public boolean isShuttingDown()
Copyright © 2015. All rights reserved.