summaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchcommon/common/growstrategy.cpp
blob: f35cdbaa64030c94a47b45c0ff012ea9c2b4aca8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "growstrategy.h"
#include <iostream>

namespace search {

std::ostream& operator<<(std::ostream& os, const GrowStrategy& grow_strategy)
{
    os << "{docsInitialCapacity=" << grow_strategy.getDocsInitialCapacity() <<
        ", docsGrowFactor=" << grow_strategy.getDocsGrowFactor() <<
        ", docsGrowDelta=" << grow_strategy.getDocsGrowDelta() <<
        ", multiValueAllocGrowFactor=" << grow_strategy.getMultiValueAllocGrowFactor() <<
        "}";
    return os;
}

}