
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 com.orientechnologies.orient.core.Orient.OShutdownCallListenersHandler handler.
|
static int |
SHUTDOWN_ENGINES_PRIORITY
Priority of
Orient.OShutdownOrientDBInstancesHandler handler. |
static int |
SHUTDOWN_PENDING_THREADS_PRIORITY
Priority of com.orientechnologies.orient.core.Orient.OShutdownPendingThreadsHandler handler.
|
static int |
SHUTDOWN_PROFILER_PRIORITY
Priority of com.orientechnologies.orient.core.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_PENDING_THREADS_PRIORITY
static final int SHUTDOWN_ENGINES_PRIORITY
Orient.OShutdownOrientDBInstancesHandler handler.static final int SHUTDOWN_PROFILER_PRIORITY
static final int SHUTDOWN_CALL_LISTENERS
int getPriority()
void shutdown()
throws Exception
Orient.shutdown() method
which is called during JVM shutdown.ExceptionCopyright © 2009–2025 OrientDB. All rights reserved.