aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/attribute/i_attribute_usage_listener.h
blob: a973ad57ecd55647cb1e7c6360acbedd2951f1a5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

namespace proton {

/*
 * Interface class for listening to attribute usage changes.
 */
class IAttributeUsageListener
{
public:
    virtual ~IAttributeUsageListener() = default;
    virtual void notify_attribute_usage(const AttributeUsageStats &attribute_usage) = 0;
};

}