Class StatisticsCache
java.lang.Object
com.zenith.cache.data.stats.StatisticsCache
- All Implemented Interfaces:
CachedData
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final List<Advancement> protected final it.unimi.dsi.fastutil.objects.Object2IntMap<Statistic> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetPackets(@NonNull Consumer<Packet> consumer, @NonNull TcpSession session) voidreset(CacheResetType type)
-
Field Details
-
statistics
-
advancements
-
progress
-
-
Constructor Details
-
StatisticsCache
public StatisticsCache()
-
-
Method Details
-
getPackets
- Specified by:
getPacketsin interfaceCachedData
-
reset
- Specified by:
resetin interfaceCachedData
-
getSendingMessage
- Specified by:
getSendingMessagein interfaceCachedData
-