From 80d65b38008d9b7f31c825508819f9600d63b63c Mon Sep 17 00:00:00 2001 From: Alan Conway Date: Tue, 16 Jun 2009 21:21:09 +0000 Subject: Performance improvements in AggregateOutput and SemanticState. Replaced AggregateOutput hierarchy with a flat list per connection holding only the OutputTasks that are potentially active. Tasks are droped from the list as soon as they return false, and added back when they may have output. Inlined frequently-used SequenceNumber functions. Replace std::list in QueueListeners with std::vector. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@785408 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/cluster/UpdateClient.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp/src/qpid/cluster/UpdateClient.h') diff --git a/cpp/src/qpid/cluster/UpdateClient.h b/cpp/src/qpid/cluster/UpdateClient.h index 030566b52d..ba5bdd1d75 100644 --- a/cpp/src/qpid/cluster/UpdateClient.h +++ b/cpp/src/qpid/cluster/UpdateClient.h @@ -91,7 +91,8 @@ class UpdateClient : public sys::Runnable { void updateConnection(const boost::intrusive_ptr& connection); void updateSession(broker::SessionHandler& s); void updateTxState(broker::SemanticState& s); - void updateConsumer(const broker::SemanticState::ConsumerImpl*); + void updateOutputTask(const sys::OutputTask* task); + void updateConsumer(const broker::SemanticState::ConsumerImpl::shared_ptr&); MemberId updaterId; MemberId updateeId; -- cgit v1.2.1