@InterfaceAudience.Private public class MetricsSnapshot extends Object
Modifier and Type | Field and Description |
---|---|
private MetricsSnapshotSource |
source |
Constructor and Description |
---|
MetricsSnapshot() |
Modifier and Type | Method and Description |
---|---|
void |
addSnapshot(long time)
Record a single instance of a snapshot
|
void |
addSnapshotClone(long time)
Record a single instance of a snapshot cloned table
|
void |
addSnapshotRestore(long time)
Record a single instance of a snapshot
|
private final MetricsSnapshotSource source
public MetricsSnapshot()
public void addSnapshot(long time)
time
- time that the snapshot tookpublic void addSnapshotRestore(long time)
time
- time that the snapshot restore tookpublic void addSnapshotClone(long time)
time
- time that the snapshot clone tookCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.