aboutsummaryrefslogtreecommitdiffstats
path: root/container-core/src/main/java/com/yahoo/container/jdisc/state/SnapshotProvider.java
blob: 8eea675cba26f982fc2d86d7add11f400703ade9 (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.
package com.yahoo.container.jdisc.state;

import java.io.PrintStream;

/**
 * An interface for components supplying a state snapshot where persistence and
 * other pre-processing has been done.
 *
 * @author Steinar Knutsen
 */
public interface SnapshotProvider {

    MetricSnapshot latestSnapshot();
    void histogram(PrintStream output);

}