aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/bucketdb/ibucketdbhandlerinitializer.h
blob: 2a425630cd86d2980caff855474b056707e68692 (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

namespace proton::bucketdb {

/**
 * The IBucketDBHandlerInitiaizer class handles initialization of a 
 * BucketDBHandler.
 */
class IBucketDBHandlerInitializer
{
public:
    IBucketDBHandlerInitializer() { }
    virtual ~IBucketDBHandlerInitializer() {}

    virtual void addDocumentMetaStore(IDocumentMetaStore *dms, search::SerialNum flushedSerialNum) = 0;
};

}