diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2006-11-07 11:05:25 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2006-11-07 11:05:25 +0000 |
| commit | e255e3520d1ce199045c77d824916a9648bf7495 (patch) | |
| tree | b57e89e67d70eded63489e1a415fdb405149e0cb /qpid/java/client | |
| parent | e0157610944a07202d19dd3b039e02a7c876b4bc (diff) | |
| download | qpid-python-e255e3520d1ce199045c77d824916a9648bf7495.tar.gz | |
QPID-69
Made an interface from the current DeliveryManager.java. The original DeliveryManager is now the SynchronizedDeliveryManager.java where the deliver() method now has synchronization to solve the race condition.
An alternative DeliveryManager - ConcurrentDeliveryManager.java uses a modified ConcurrentLinkedQueue (Modified to maintain the current queue size) this uses a compare and swap methods to allow concurrent access to each end of the queue. Additional locking is required once the queue has been depleted to ensure that a thread is not in the process of appending to the queue.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@472060 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/client')
0 files changed, 0 insertions, 0 deletions
