aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/apps/vespa-feed-bm/bm_storage_link.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/apps/vespa-feed-bm/bm_storage_link.cpp')
-rw-r--r--searchcore/src/apps/vespa-feed-bm/bm_storage_link.cpp37
1 files changed, 0 insertions, 37 deletions
diff --git a/searchcore/src/apps/vespa-feed-bm/bm_storage_link.cpp b/searchcore/src/apps/vespa-feed-bm/bm_storage_link.cpp
deleted file mode 100644
index 2aeda91c30c..00000000000
--- a/searchcore/src/apps/vespa-feed-bm/bm_storage_link.cpp
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-
-#include "bm_storage_link.h"
-#include "pending_tracker.h"
-
-namespace feedbm {
-
-
-BmStorageLink::BmStorageLink()
- : storage::StorageLink("vespa-bm-feed"),
- StorageReplyErrorChecker(),
- _pending_hash()
-{
-}
-
-BmStorageLink::~BmStorageLink() = default;
-
-bool
-BmStorageLink::onDown(const std::shared_ptr<storage::api::StorageMessage>& msg)
-{
- (void) msg;
- return false;
-}
-
-bool
-BmStorageLink::onUp(const std::shared_ptr<storage::api::StorageMessage>& msg)
-{
- auto tracker = _pending_hash.release(msg->getMsgId());
- if (tracker != nullptr) {
- check_error(*msg);
- tracker->release();
- return true;
- }
- return false;
-}
-
-}