aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/reference/dummy_gid_to_lid_change_handler.cpp
blob: a2552d1deea4431ad683389855d31a5b323ccda3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "dummy_gid_to_lid_change_handler.h"
#include "i_pending_gid_to_lid_changes.h"

namespace proton {

DummyGidToLidChangeHandler::DummyGidToLidChangeHandler() = default;

DummyGidToLidChangeHandler::~DummyGidToLidChangeHandler() = default;

void
DummyGidToLidChangeHandler::notifyPut(IDestructorCallbackSP, GlobalId, uint32_t, SerialNum)
{
}

void
DummyGidToLidChangeHandler::notifyRemoves(IDestructorCallbackSP, const std::vector<GlobalId> &, SerialNum)
{
}

std::unique_ptr<IPendingGidToLidChanges>
DummyGidToLidChangeHandler::grab_pending_changes()
{
    return {};
}

void
DummyGidToLidChangeHandler::addListener(std::unique_ptr<IGidToLidChangeListener>)
{
}

void
DummyGidToLidChangeHandler::removeListeners(const vespalib::string &,
                                            const std::set<vespalib::string> &)
{
}

} // namespace proton