diff options
| author | Martin Ritchie <ritchiem@apache.org> | 2008-09-03 16:26:38 +0000 |
|---|---|---|
| committer | Martin Ritchie <ritchiem@apache.org> | 2008-09-03 16:26:38 +0000 |
| commit | 03e2a3ab68f35e70967659b248709612b3a09a87 (patch) | |
| tree | 97c9563c110bdaf4740c45d2aeacb9b7a5674d6e /qpid/java/common | |
| parent | 898c10ed8e9f04a7d919df1f8900779b5f5af725 (diff) | |
| download | qpid-python-03e2a3ab68f35e70967659b248709612b3a09a87.tar.gz | |
QPID-1266 : Provided test for new stop() method. Updated RefCountExService to allow retrieval of the referenceCount. Updated AMQQueue to only perform stop() actions once, such as releasing the RefCountExService. Updated instances where new virtualhosts were not added to the VHostRegistry. See supplemental JIRA for removing the need for this.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@691661 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/java/common')
| -rw-r--r-- | qpid/java/common/src/main/java/org/apache/qpid/pool/ReferenceCountingExecutorService.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/qpid/java/common/src/main/java/org/apache/qpid/pool/ReferenceCountingExecutorService.java b/qpid/java/common/src/main/java/org/apache/qpid/pool/ReferenceCountingExecutorService.java index ce9c6ae4cb..20a30b3ed3 100644 --- a/qpid/java/common/src/main/java/org/apache/qpid/pool/ReferenceCountingExecutorService.java +++ b/qpid/java/common/src/main/java/org/apache/qpid/pool/ReferenceCountingExecutorService.java @@ -160,4 +160,13 @@ public class ReferenceCountingExecutorService { return _pool; } + + /** + * Return the ReferenceCount to this ExecutorService + * @return reference count + */ + public int getReferenceCount() + { + return _refCount; + } } |
