summaryrefslogtreecommitdiff
path: root/java/client/test/src
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
commit796c146fdd324d8a0c0fe1087a13e2a377f1a88e (patch)
tree851b97a06b42bc22aa9c79641656910ad2599be7 /java/client/test/src
parentd14a9ea19cc719dc4669b8649f279aed5fa5271e (diff)
downloadqpid-python-796c146fdd324d8a0c0fe1087a13e2a377f1a88e.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/qpid@472060 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/client/test/src')
0 files changed, 0 insertions, 0 deletions