aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/documentmetastore/operation_listener.h
blob: 7ad783c0e14be90486d9e7ee413b71c7bf6c65d0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <memory>

namespace proton::documentmetastore {

/**
 * Interface used to listen to operations handled by the document meta store.
 */
class OperationListener {
public:
    using SP = std::shared_ptr<OperationListener>;
    virtual ~OperationListener() {}
    virtual void notify_remove_batch() = 0;
    virtual void notify_remove() = 0;
};

}