public final class MetricsSnapshot extends Object
Modifier and Type | Class and Description |
---|---|
static class |
MetricsSnapshot.Error |
static class |
MetricsSnapshot.Resource |
Constructor and Description |
---|
MetricsSnapshot(MetricsProvider provider,
String sourceLabel,
Map<String,MetricsSnapshot.Resource> statuses) |
Modifier and Type | Method and Description |
---|---|
Date |
getCreated() |
MetricsProvider |
getProvider() |
String |
getSourceLabel() |
Map<String,MetricsSnapshot.Resource> |
getStatuses() |
public MetricsSnapshot(@Nonnull MetricsProvider provider, @Nonnull String sourceLabel, @Nonnull Map<String,MetricsSnapshot.Resource> statuses)
@Nonnull public Map<String,MetricsSnapshot.Resource> getStatuses()
@Nonnull public MetricsProvider getProvider()
Copyright © 2016–2021. All rights reserved.