ControllerServerThread
listens for C-JDBC driver connections. It accepts the connection and give them to ControllerWorkerThreads
.
ControllerServerThread.java の 51 行で定義されています。
Public メソッド | |
ControllerServerThread (Controller controller) | |
void | run () |
void | shutdown () |
int | getControllerServerThreadPendingQueueSize () |
int | getIdleWorkerThreads () |
boolean | isShuttingDown () |
Protected 変数 | |
Controller | controller |
ArrayList | controllerServerThreadPendingQueue = new ArrayList() |
int | idleWorkerThreads = 0 |
スタティック変数 | |
Trace | logger |
Private 変数 | |
ServerSocket | serverSocket |
boolean | isKilled = false |
boolean | isShuttingDown = false |
Static Private 変数 | |
final SecurityException | BLOCKED |
|
Creates a new ControllerServerThread that listens on the given port.
参照先 org.objectweb.cjdbc.controller.core.Controller.endOfController(), org.objectweb.cjdbc.controller.core.Controller.getBacklogSize(), org.objectweb.cjdbc.controller.core.Controller.getIPAddress(), org.objectweb.cjdbc.controller.core.Controller.getPortNumber(), org.objectweb.cjdbc.controller.core.Controller.getSecurity(), org.objectweb.cjdbc.controller.core.security.ControllerSecurityManager.getSslConfig(), org.objectweb.cjdbc.controller.core.Controller.isSecurityEnabled(), org.objectweb.cjdbc.controller.core.security.ControllerSecurityManager.isSSLEnabled(), org.objectweb.cjdbc.controller.core.ControllerServerThread.logger, と org.objectweb.cjdbc.controller.core.ControllerServerThread.serverSocket.
|
|
|
|
|
|
Returns the isShuttingDown value.
|
|
Accepts connections from drivers, read the virtual database name and returns the connection point. ControllerServerThread.java の 168 行で定義されています。 参照先 org.objectweb.cjdbc.common.stream.CJDBCOutputStream.flush(), と org.objectweb.cjdbc.common.stream.CJDBCOutputStream.writeObject().
|
|
Refuse new connection to clients and finish transaction ControllerServerThread.java の 246 行で定義されています。
|
|
初期値: ControllerServerThread.java の 54 行で定義されています。 |
|
ControllerServerThread.java の 59 行で定義されています。 参照元 org.objectweb.cjdbc.controller.core.ControllerWorkerThread.run(). |
|
Pending queue of client (driver) socket connections ControllerServerThread.java の 61 行で定義されています。 参照元 org.objectweb.cjdbc.controller.core.ControllerWorkerThread.run(). |
|
Number of idle 参照元 org.objectweb.cjdbc.controller.core.ControllerWorkerThread.run(). |
|
ControllerServerThread.java の 57 行で定義されています。 |
|
|
初期値: Logger instance. ControllerServerThread.java の 69 行で定義されています。 参照元 org.objectweb.cjdbc.controller.core.ControllerServerThread.ControllerServerThread(). |
|
ControllerServerThread.java の 53 行で定義されています。 参照元 org.objectweb.cjdbc.controller.core.ControllerServerThread.ControllerServerThread(). |