Controller
, VirtualDatabase
and DatabaseBackend
shutdown threads.
ShutdownThread.java の 41 行で定義されています。
Public メソッド | |
ShutdownThread (int level, String type, String name) | |
void | run () |
String | getShutdownType () |
int | getShutdownLevel () |
void | abortShutdown (Exception cause) |
abstract void | shutdownSmart () throws ShutdownException |
abstract void | shutdownFast () throws ShutdownException |
abstract void | shutdownImmediate () throws ShutdownException |
ThreadGroup | getShutdownGroup () |
Public 変数 | |
ThreadGroup | shutdownGroup = new ThreadGroup("shutdown"+new Date()) |
Static Public 変数 | |
final String | CONTROLLER = "controller" |
final String | DATABASE = "database" |
final String | BACKEND = "backend" |
Protected メソッド | |
void | beforeShutdown () |
void | postShutdown () |
Protected 変数 | |
int | shutdownLevel |
String | type |
String | name |
変数 | |
Trace | logger |
|
Create a new shutdown thread
参照先 org.objectweb.cjdbc.controller.core.shutdown.ShutdownThread.logger.
|
|
If shutdown fails ...
|
|
org.objectweb.cjdbc.controller.core.shutdown.ControllerShutdownThreadで再定義されています。 ShutdownThread.java の 129 行で定義されています。
|
|
Returns the shutdownGroup value.
参照元 org.objectweb.cjdbc.controller.virtualdatabase.VirtualDatabase.shutdown(), と org.objectweb.cjdbc.controller.core.Controller.shutdown().
|
|
Get shutdown level
参照元 org.objectweb.cjdbc.controller.core.shutdown.ControllerShutdownThread.shutdownFast(), と org.objectweb.cjdbc.controller.core.shutdown.ControllerShutdownThread.shutdownSmart().
|
|
Get shutdown type
|
|
ShutdownThread.java の 134 行で定義されています。
|
|
Execute the shutdown
|
|
Wait for all clients to finish transaction and then force disconnection. Then disable backends for checkpoint. This shutdown method does not need recovery.
org.objectweb.cjdbc.controller.core.shutdown.ControllerShutdownThread, と org.objectweb.cjdbc.controller.core.shutdown.VirtualDatabaseShutdownThreadで実装されています.
|
|
Force immediate shutdown. This method needs recovery at next start up.
org.objectweb.cjdbc.controller.core.shutdown.ControllerShutdownThread, と org.objectweb.cjdbc.controller.core.shutdown.VirtualDatabaseShutdownThreadで実装されています.
|
|
Wait for all clients to finish transaction and disconnect. Then disable all backends for checkpoints.
org.objectweb.cjdbc.controller.core.shutdown.ControllerShutdownThread, と org.objectweb.cjdbc.controller.core.shutdown.VirtualDatabaseShutdownThreadで実装されています.
|
|
Backend Thread ShutdownThread.java の 48 行で定義されています。 |
|
Controller Thread ShutdownThread.java の 44 行で定義されています。 |
|
Database Thread ShutdownThread.java の 46 行で定義されています。 |
|
初期値: Logger instance. ShutdownThread.java の 57 行で定義されています。 参照元 org.objectweb.cjdbc.controller.core.shutdown.ShutdownThread.ShutdownThread(). |
|
ShutdownThread.java の 61 行で定義されています。 |
|
Group to join onto when shutting down ShutdownThread.java の 51 行で定義されています。 |
|
org.objectweb.cjdbc.controller.core.shutdown.VirtualDatabaseShutdownThreadで再定義されています。 ShutdownThread.java の 54 行で定義されています。 |
|
ShutdownThread.java の 60 行で定義されています。 |