public class RetentionSettings extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
RetentionSettings.RetentionKey
The key class used in
RetentionSettings internal map. |
| Constructor and Description |
|---|
RetentionSettings() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Integer |
get(MetricType type) |
Integer |
get(MetricType type,
Interval interval) |
Integer |
get(RetentionSettings.RetentionKey key) |
int |
hashCode() |
Set<RetentionSettings.RetentionKey> |
keySet() |
Integer |
put(MetricType rawType,
int hours) |
Integer |
put(MetricType metricType,
Interval interval,
int hours) |
String |
toString() |
public Integer put(MetricType rawType, int hours)
public Integer put(MetricType metricType, Interval interval, int hours)
public Integer get(MetricType type)
public Integer get(MetricType type, Interval interval)
public Integer get(RetentionSettings.RetentionKey key)
public Set<RetentionSettings.RetentionKey> keySet()
Copyright © 2014 Red Hat, Inc.. All rights reserved.