aboutsummaryrefslogtreecommitdiffstats
path: root/storageserver/src/vespa/storageserver/app/dummyservicelayerprocess.cpp
blob: 8940c2a320e25e2f4e935c08606da62d0f52c2b3 (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
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "dummyservicelayerprocess.h"

namespace storage {

// DummyServiceLayerProcess implementation

DummyServiceLayerProcess::DummyServiceLayerProcess(const config::ConfigUri & configUri)
    : ServiceLayerProcess(configUri)
{
}

void
DummyServiceLayerProcess::shutdown()
{
    ServiceLayerProcess::shutdown();
    _provider.reset();
}

void
DummyServiceLayerProcess::setupProvider()
{
    _provider = std::make_unique<spi::dummy::DummyPersistence>(getTypeRepo());
}

} // storage