net.minestom.server.monitoring.TickMonitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of minestom-snapshots Show documentation
Show all versions of minestom-snapshots Show documentation
1.20.4 Lightweight Minecraft server
package net.minestom.server.monitoring;
public class TickMonitor {
private final double tickTime;
private final double acquisitionTime;
public TickMonitor(double tickTime, double acquisitionTime) {
this.tickTime = tickTime;
this.acquisitionTime = acquisitionTime;
}
public double getTickTime() {
return tickTime;
}
public double getAcquisitionTime() {
return acquisitionTime;
}
}