From a3861c46a7151a250fd06f54a60b9c1fe4bd6a1e Mon Sep 17 00:00:00 2001 From: Kim van der Riet Date: Fri, 11 May 2012 12:19:07 +0000 Subject: QPID-3858: Added async queue deletion and mechanism to correctly wait for async completion of store deletion before destroying queue objects git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1337126 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/tests/storePerfTools/asyncPerf/PerfTest.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'cpp/src/tests/storePerfTools/asyncPerf/PerfTest.h') diff --git a/cpp/src/tests/storePerfTools/asyncPerf/PerfTest.h b/cpp/src/tests/storePerfTools/asyncPerf/PerfTest.h index 1eb11a51fa..544cd6b3ae 100644 --- a/cpp/src/tests/storePerfTools/asyncPerf/PerfTest.h +++ b/cpp/src/tests/storePerfTools/asyncPerf/PerfTest.h @@ -48,7 +48,7 @@ namespace asyncPerf { class MockPersistableQueue; class TestOptions; -typedef boost::shared_ptr AsyncStoreImplPtr; +//typedef boost::shared_ptr AsyncStoreImplPtr; typedef boost::shared_ptr MockPersistableQueuePtr; class PerfTest : public tests::storePerftools::common::Streamable @@ -68,11 +68,12 @@ protected: const char* m_msgData; boost::shared_ptr m_poller; qpid::sys::Thread m_pollingThread; + qpid::asyncStore::AsyncStoreImpl* m_store; + std::deque m_queueList; - AsyncStoreImplPtr prepareStore(); - void prepareQueues(std::deque& jrnlList, - AsyncStoreImplPtr store); - void destroyQueues(std::deque& jrnlList); + void prepareStore(); + void prepareQueues(); + void destroyQueues(); }; -- cgit v1.2.1