Class ConfigurationCache
java.lang.Object
com.zenith.cache.data.config.ConfigurationCache
- All Implemented Interfaces:
CachedData
Configuration phase registry and features cache
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetConfigurationPackets(@NonNull Consumer<Packet> consumer, @NonNull TcpSession session) voidgetPackets(@NonNull Consumer<Packet> consumer, @NonNull TcpSession session) voidreset(CacheResetType type) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.zenith.cache.CachedData
getSendingMessage
-
Field Details
-
enabledFeatures
-
-
Constructor Details
-
ConfigurationCache
public ConfigurationCache()
-
-
Method Details
-
getPackets
- Specified by:
getPacketsin interfaceCachedData
-
getConfigurationPackets
public void getConfigurationPackets(@NonNull Consumer<Packet> consumer, @NonNull TcpSession session) -
reset
- Specified by:
resetin interfaceCachedData
-