Package com.mckoi.database.jdbcserver
Interface ConnectionPoolServer
-
- All Known Implementing Classes:
MultiThreadedConnectionPoolServer
,SingleThreadedConnectionPoolServer
interface ConnectionPoolServer
An interface for the connection pool for a server. This is the API for a service that accepts connections via 'addConnection', waits for the connection to make a request, and dispatch the request as appropriate to the database engine.This interface is used to provide different implementations for command dispatching mechanisms, such as a thread per TCP user, one thread per TCP connection set, UDP, etc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addConnection(ServerConnection connection)
Connects a new ServerConnection into the pool of connections to clients that this server maintains.void
close()
Closes this connection pool server down.
-
-
-
Method Detail
-
addConnection
void addConnection(ServerConnection connection)
Connects a new ServerConnection into the pool of connections to clients that this server maintains.
-
close
void close()
Closes this connection pool server down.
-
-