Class ShardingMetaConfig
java.lang.Object
net.dv8tion.jda.internal.utils.config.MetaConfig
net.dv8tion.jda.internal.utils.config.sharding.ShardingMetaConfig
-
Constructor Summary
ConstructorsConstructorDescriptionShardingMetaConfig
(int maxBufferSize, IntFunction<? extends ConcurrentMap<String, String>> contextProvider, EnumSet<CacheFlag> cacheFlags, EnumSet<ConfigFlag> flags, Compression compression, GatewayEncoding encoding) -
Method Summary
Modifier and TypeMethodDescriptiongetContextMap
(int shardId) IntFunction
<? extends ConcurrentMap<String, String>> static ShardingMetaConfig
Methods inherited from class net.dv8tion.jda.internal.utils.config.MetaConfig
getCacheFlags, getMaxBufferSize, getMdcContextMap, isEnableMDC, isUseShutdownHook
-
Constructor Details
-
ShardingMetaConfig
public ShardingMetaConfig(int maxBufferSize, @Nullable IntFunction<? extends ConcurrentMap<String, String>> contextProvider, @Nullable EnumSet<CacheFlag> cacheFlags, EnumSet<ConfigFlag> flags, Compression compression, GatewayEncoding encoding)
-
-
Method Details
-
getContextMap
-
getCompression
-
getEncoding
-
getContextProvider
-
getDefault
-