summaryrefslogtreecommitdiff
path: root/qpid/java/client
diff options
context:
space:
mode:
authorMartin Ritchie <ritchiem@apache.org>2006-11-07 11:05:25 +0000
committerMartin Ritchie <ritchiem@apache.org>2006-11-07 11:05:25 +0000
commite255e3520d1ce199045c77d824916a9648bf7495 (patch)
treeb57e89e67d70eded63489e1a415fdb405149e0cb /qpid/java/client
parente0157610944a07202d19dd3b039e02a7c876b4bc (diff)
downloadqpid-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