All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.redislabs.redistimeseries.information.Rule Maven / Gradle / Ivy

There is a newer version: 1.6.0
Show newest version
package com.redislabs.redistimeseries.information;

import com.redislabs.redistimeseries.Aggregation;

public class Rule {
  private final String target;
  private final long value;
  private final Aggregation aggregation;
  
  public Rule(String target, long value, Aggregation aggregation) {
    this.target = target;
    this.value = value;
    this.aggregation = aggregation;
  }

  public String getTarget() {
    return target;
  }

  public long getValue() {
    return value;
  }

  public Aggregation getAggregation() {
    return aggregation;
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy