aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storage/common/doneinitializehandler.h
blob: 7933a29fecfca71bb7ab5bd6a4845b164a02a952 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
/**
 * \class storage::DoneInitializeHandler
 *
 * \brief Interface for handler needing to know when initializing is done.
 *
 * Every type of node will have one component responsible for calling this
 * handler.
 */

#pragma once

namespace storage {

struct DoneInitializeHandler {
    virtual ~DoneInitializeHandler() = default;
    virtual void notifyDoneInitializing() = 0;
};

} // storage