org.jrobin.core.SyncTimerTask Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jrobin Show documentation
Show all versions of jrobin Show documentation
JRobin is a 100% pure Java alternative to RRDTool, with about exactly the
same specifications. If you provide the same data to RRDTool and JRobin,
you will get exactly the same results and graphs. All standard RRDTool
operations are supported.
The newest version!
package org.jrobin.core;
import java.util.TimerTask;
public final class SyncTimerTask extends TimerTask {
private final RrdNioBackend m_rrdNioBackend;
SyncTimerTask(final RrdNioBackend rrdNioBackend) {
m_rrdNioBackend = rrdNioBackend;
}
@Override public void run() {
m_rrdNioBackend.sync();
}
}