public class Orient.OShutdownWorkersHandler extends Object implements OShutdownHandler
Orient.submit(Callable)
and Orient.submit(Runnable)
.SHUTDOWN_CALL_LISTENERS, SHUTDOWN_ENGINES_PRIORITY, SHUTDOWN_PENDING_THREADS_PRIORITY, SHUTDOWN_PROFILER_PRIORITY, SHUTDOWN_WORKERS_PRIORITY
Constructor and Description |
---|
OShutdownWorkersHandler() |
Modifier and Type | Method and Description |
---|---|
int |
getPriority() |
void |
shutdown()
Code which executed during system shutdown.
|
String |
toString() |
public int getPriority()
getPriority
in interface OShutdownHandler
public void shutdown() throws Exception
OShutdownHandler
Orient.shutdown()
method
which is called during JVM shutdown.shutdown
in interface OShutdownHandler
Exception
Copyright © 2009–2020 OrientDB. All rights reserved.