aboutsummaryrefslogtreecommitdiffstats
path: root/storageserver/src/vespa/storageserver/app/dummyservicelayerprocess.cpp
blob: 9b4f058ea2befa56d01bff191136d84f000177c9 (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 Yahoo. 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