|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.stellent.ridc.protocol.impl.BlockingQueueConnectionPool<TConnection>
public class BlockingQueueConnectionPool<TConnection extends Connection>
Threading model that uses a BlockingQueue to handle multiple Content Server connections.
Constructor Summary | |
---|---|
BlockingQueueConnectionPool() |
Method Summary | |
---|---|
TConnection |
acquireConnection() Obtain a connection from the pool for the current thread |
void |
initialize(IdcClientConfig clientConfig, ConnectionManager<TConnection,IdcClientConfig> connectionManager) Initialize the threading model |
void |
releaseConnection(TConnection connection) Release the connection for this thread |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlockingQueueConnectionPool()
Method Detail |
---|
public void initialize(IdcClientConfig clientConfig, ConnectionManager<TConnection,IdcClientConfig> connectionManager) throws ProtocolException
initialize
in interface ConnectionPool<TConnection extends Connection>
clientConfig
- the client configurationconnectionManager
- the connection managerProtocolException
public TConnection acquireConnection() throws ProtocolException
ConnectionPool
acquireConnection
in interface ConnectionPool<TConnection extends Connection>
ProtocolException
public void releaseConnection(TConnection connection)
releaseConnection
in interface ConnectionPool<TConnection extends Connection>
connection
- the connection
|
Oracle® Fusion Middleware Remote Intradoc Client (RIDC) Java API Reference 11g Release 1 (11.1.1) E17274-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |