![JAR search and dependency download from the Maven repository](/logo.png)
net.savantly.graphite.query.impl.FromImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graphite-client Show documentation
Show all versions of graphite-client Show documentation
Connects to a carbon/graphite instance to push metrics
The newest version!
package net.savantly.graphite.query.impl;
import net.savantly.graphite.query.From;
import net.savantly.graphite.query.GraphiteTimeUnit;
public class FromImpl implements From {
String value = "-24h";
public FromImpl() { }
public FromImpl(int value, GraphiteTimeUnit unit) {
this.value = String.format("%i%s", value, unit.value());
}
@Override
public String value() {
return this.value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy