diff options
author | Luck <git@lucko.me> | 2023-03-19 19:35:29 +0000 |
---|---|---|
committer | Luck <git@lucko.me> | 2023-03-19 19:35:29 +0000 |
commit | a70ccb394839c63f13b3e6ff5539c0a042925d2f (patch) | |
tree | 400f3a80ec19238831f5994b319cdbf4e168f1f3 /spark-api/src/main/java/me/lucko/spark | |
parent | 6cdd78a0c57d751d3a44b319703c20b034f8d675 (diff) | |
download | spark-a70ccb394839c63f13b3e6ff5539c0a042925d2f.tar.gz spark-a70ccb394839c63f13b3e6ff5539c0a042925d2f.tar.bz2 spark-a70ccb394839c63f13b3e6ff5539c0a042925d2f.zip |
Allow platforms to provide their own TPS/MSPT calculations
Diffstat (limited to 'spark-api/src/main/java/me/lucko/spark')
-rw-r--r-- | spark-api/src/main/java/me/lucko/spark/api/statistic/StatisticWindow.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spark-api/src/main/java/me/lucko/spark/api/statistic/StatisticWindow.java b/spark-api/src/main/java/me/lucko/spark/api/statistic/StatisticWindow.java index cdf4d01..cdaa2b8 100644 --- a/spark-api/src/main/java/me/lucko/spark/api/statistic/StatisticWindow.java +++ b/spark-api/src/main/java/me/lucko/spark/api/statistic/StatisticWindow.java @@ -92,7 +92,8 @@ public interface StatisticWindow { enum MillisPerTick implements StatisticWindow { SECONDS_10(Duration.ofSeconds(10)), - MINUTES_1(Duration.ofMinutes(1)); + MINUTES_1(Duration.ofMinutes(1)), + MINUTES_5(Duration.ofMinutes(5)); private final Duration value; |