diff options
| author | Ted Ross <tross@apache.org> | 2008-06-02 16:01:51 +0000 |
|---|---|---|
| committer | Ted Ross <tross@apache.org> | 2008-06-02 16:01:51 +0000 |
| commit | 40c8b6f844ce64fc4245e5f91e6b1eaea2fc9e94 (patch) | |
| tree | 80438fbfb8739e9189fdad70d8271ae2ca8d26f4 /cpp/src/qpid/broker/DirectExchange.cpp | |
| parent | e1c0b830b67e68be71e65ef18657e746ed6b971f (diff) | |
| download | qpid-python-40c8b6f844ce64fc4245e5f91e6b1eaea2fc9e94.tar.gz | |
QPID-1113 Management cleanup and performance enhancements
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@662470 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/DirectExchange.cpp')
| -rw-r--r-- | cpp/src/qpid/broker/DirectExchange.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/src/qpid/broker/DirectExchange.cpp b/cpp/src/qpid/broker/DirectExchange.cpp index 72021b8d98..84a5362766 100644 --- a/cpp/src/qpid/broker/DirectExchange.cpp +++ b/cpp/src/qpid/broker/DirectExchange.cpp @@ -54,8 +54,8 @@ bool DirectExchange::bind(Queue::shared_ptr queue, const string& routingKey, con Binding::shared_ptr binding (new Binding (routingKey, queue, this)); bindings[routingKey].push_back(binding); if (mgmtExchange.get() != 0) { - mgmtExchange->inc_bindings(); - dynamic_pointer_cast<management::Queue>(queue->GetManagementObject())->inc_bindings(); + mgmtExchange->inc_bindingCount(); + dynamic_pointer_cast<management::Queue>(queue->GetManagementObject())->inc_bindingCount(); } return true; } else{ @@ -78,8 +78,8 @@ bool DirectExchange::unbind(Queue::shared_ptr queue, const string& routingKey, c bindings.erase(routingKey); } if (mgmtExchange.get() != 0) { - mgmtExchange->dec_bindings (); - dynamic_pointer_cast<management::Queue>(queue->GetManagementObject())->dec_bindings(); + mgmtExchange->dec_bindingCount(); + dynamic_pointer_cast<management::Queue>(queue->GetManagementObject())->dec_bindingCount(); } return true; } else { |
