Class Orient.OShutdownOrientDBInstancesHandler
java.lang.Object
com.orientechnologies.orient.core.Orient.OShutdownOrientDBInstancesHandler
- All Implemented Interfaces:
OShutdownHandler
- Enclosing class:
- Orient
Closes all storages and shutdown all engines.
-
Field Summary
Fields inherited from interface com.orientechnologies.orient.core.shutdown.OShutdownHandler
SHUTDOWN_CALL_LISTENERS, SHUTDOWN_ENGINES_PRIORITY, SHUTDOWN_PENDING_THREADS_PRIORITY, SHUTDOWN_PROFILER_PRIORITY, SHUTDOWN_WORKERS_PRIORITY -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
OShutdownOrientDBInstancesHandler
public OShutdownOrientDBInstancesHandler()
-
-
Method Details
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceOShutdownHandler- Returns:
- Handlers priority.
-
shutdown
Description copied from interface:OShutdownHandlerCode which executed during system shutdown. During call ofOrient.shutdown()method which is called during JVM shutdown.- Specified by:
shutdownin interfaceOShutdownHandler- Throws:
Exception
-
toString
-