
com.redislabs.redistimeseries.information.Info Maven / Gradle / Ivy
package com.redislabs.redistimeseries.information;
import java.util.Map;
public class Info {
private final Map properties;
private final Map labels;
private final Map rules;
public Info(Map properties, Map labels, Map rules) {
this.properties = properties;
this.labels = labels;
this.rules = rules;
}
public Long getProperty(String property) {
return properties.get(property);
}
public String getLabel(String label) {
return labels.get(label);
}
public Rule getRule(String rule) {
return rules.get(rule);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy