| Package | Description |
|---|---|
| com.cs.software.engine.datastore.database |
| Modifier and Type | Method and Description |
|---|---|
JDCConnection |
ConnectionQueue.createConnection() |
JDCConnection |
ConnectionQueue.getConnection()
Synchronized - Will retrieve the next Thread from the queue
note: This call will block until a message is received
|
JDCConnection |
ConnectionPool.getConnection()
Will return the next available connection from the pool, If none
are available an max not reached then a new connection is created
|
JDCConnection |
ConnectionQueue.getConnectionNoWait()
Will retrieve the next available Connection from the queue
note: This call will NOT BLOCK if not Connection returns null
|
| Modifier and Type | Method and Description |
|---|---|
void |
ConnectionQueue.addConnection(JDCConnection aCon)
Synchronized - Adds a connection that is now available for use to the list of connections
|
void |
ConnectionQueue.addConnectionInUse(JDCConnection aCon) |
void |
ConnectionQueue.addWriter(JDCConnection aWriter)
Synchronized - Will add a new Worker to the Queue
|
void |
ConnectionQueue.removeConnection(JDCConnection aCon) |
void |
ConnectionPool.removeConnection(JDCConnection conn) |
void |
ConnectionQueue.removeWriter(JDCConnection aWriter)
Synchronized - Will remove a Worker from the Queue
|
void |
ConnectionPool.returnConnection(JDCConnection conn)
Will return a connection back to the pool
|
Copyright © 2020. All rights reserved.