diff options
| author | Alan Conway <aconway@apache.org> | 2008-09-22 14:03:07 +0000 |
|---|---|---|
| committer | Alan Conway <aconway@apache.org> | 2008-09-22 14:03:07 +0000 |
| commit | c0170cdc4e6b08abbe20a4d835941eb645ed351d (patch) | |
| tree | dfe8fa8caec30e3ef799f00b1baa921b0fb2cfc7 /cpp/src/qpid/broker/Prefetch.h | |
| parent | 03fa9018260242f08d2164f06875fc708fdbf4c7 (diff) | |
| download | qpid-python-c0170cdc4e6b08abbe20a4d835941eb645ed351d.tar.gz | |
Removed redundant code.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@697834 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/Prefetch.h')
| -rw-r--r-- | cpp/src/qpid/broker/Prefetch.h | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/cpp/src/qpid/broker/Prefetch.h b/cpp/src/qpid/broker/Prefetch.h deleted file mode 100644 index 8eb27a3e21..0000000000 --- a/cpp/src/qpid/broker/Prefetch.h +++ /dev/null @@ -1,42 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * - */ -#ifndef _Prefetch_ -#define _Prefetch_ - -#include "qpid/framing/amqp_types.h" - -namespace qpid { - namespace broker { - /** - * Count and total size of asynchronously delivered - * (i.e. pushed) messages that have acks outstanding. - */ - struct Prefetch{ - uint32_t size; - uint16_t count; - - void reset() { size = 0; count = 0; } - }; - } -} - - -#endif |
