
public interface OShutdownHandler
There are set of predefined priorities which are used for system shutdown handlers which allows to add your handlers before , between and after them.
| Modifier and Type | Field and Description |
|---|---|
static int |
SHUTDOWN_CALL_LISTENERS
Priority of
Orient.OShutdownCallListenersHandler handler. |
static int |
SHUTDOWN_ENGINES_PRIORITY
Priority of
Orient.OShutdownEnginesHandler handler. |
static int |
SHUTDOWN_PENDING_THREADS_PRIORITY
Priority of
Orient.OShutdownPendingThreadsHandler handler. |
static int |
SHUTDOWN_PROFILER_PRIORITY
Priority of
Orient.OShutdownProfilerHandler handler. |
static int |
SHUTDOWN_WORKERS_PRIORITY
Priority of
Orient.OShutdownWorkersHandler handler. |
| Modifier and Type | Method and Description |
|---|---|
int |
getPriority() |
void |
shutdown()
Code which executed during system shutdown.
|
static final int SHUTDOWN_WORKERS_PRIORITY
Orient.OShutdownWorkersHandler handler.static final int SHUTDOWN_ENGINES_PRIORITY
Orient.OShutdownEnginesHandler handler.static final int SHUTDOWN_PENDING_THREADS_PRIORITY
Orient.OShutdownPendingThreadsHandler handler.static final int SHUTDOWN_PROFILER_PRIORITY
Orient.OShutdownProfilerHandler handler.static final int SHUTDOWN_CALL_LISTENERS
Orient.OShutdownCallListenersHandler handler.int getPriority()
void shutdown()
throws Exception
Orient.shutdown() method which is called during JVM
shutdown.ExceptionCopyright © 2009–2025 OrientDB. All rights reserved.