aboutsummaryrefslogtreecommitdiffstats
path: root/staging_vespalib/src/vespa/vespalib/util/doom.cpp
blob: 329f4cad913c247beb6755a1d2c75720ae177668 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "doom.h"

namespace vespalib {

Doom::Doom(const vespalib::Clock &clock, steady_time softDoom,
           steady_time hardDoom, bool explicitSoftDoom)
    : _clock(clock),
      _softDoom(softDoom),
      _hardDoom(hardDoom),
      _isExplicitSoftDoom(explicitSoftDoom)
{ }

}