| Modifier and Type | Field and Description |
|---|---|
| private static final WeakHashMap | |
| private static final Thread | |
| private static boolean | |
| private static boolean |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| pack-priv static synchronized void | |
| public void | run()
Overrides java. Implements java. This method is run by the thread when it executes. |
| pack-priv static synchronized void |
| DATABASES | back to summary |
|---|---|
| private static final WeakHashMap<Database, Void> DATABASES | |
| INSTANCE | back to summary |
|---|---|
| private static final Thread INSTANCE | |
| registered | back to summary |
|---|---|
| private static boolean registered | |
| terminated | back to summary |
|---|---|
| private static boolean terminated | |
| OnExitDatabaseCloser | back to summary |
|---|---|
| private OnExitDatabaseCloser() | |
| onShutdown | back to summary |
|---|---|
| private static void onShutdown() | |
| register | back to summary |
|---|---|
| pack-priv static synchronized void register(Database db) Register database instance to close one on the JVM process shutdown.
| |
| run | back to summary |
|---|---|
| public void run() Overrides java. Implements java. Doc from java. This method is run by the thread when it executes. Subclasses of This method is not intended to be invoked directly. If this thread is a
platform thread created with a
| |
| unregister | back to summary |
|---|---|
| pack-priv static synchronized void unregister(Database db) Unregister database instance.
| |