blob: 4967fd1f162bc72846ead49a3d9fd351b9115b06 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright 2017 Yahoo Holdings. 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 <a href="mailto:steinar@yahoo-inc.com">Steinar Knutsen</a>
*/
public interface SnapshotProvider {
MetricSnapshot latestSnapshot();
void histogram(PrintStream output);
}
|