Uses of Class
com.hazelcast.client.config.ClientFlakeIdGeneratorConfig
Package
Description
Contains classes related to config for com.hazelcast.client
-
Uses of ClientFlakeIdGeneratorConfig in com.hazelcast.client.config
Modifier and TypeMethodDescriptionClientConfig.findFlakeIdGeneratorConfig
(String name) Returns aClientFlakeIdGeneratorConfig
configuration for the given flake ID generator name.ClientConfig.getFlakeIdGeneratorConfig
(String name) Returns theClientFlakeIdGeneratorConfig
for the given name, creating one if necessary and adding it to the collection of known configurations.Sets the name or name pattern for this config.ClientFlakeIdGeneratorConfig.setPrefetchCount
(int prefetchCount) Sets how many IDs are pre-fetched on the background when one call toFlakeIdGenerator.newId()
is made.ClientFlakeIdGeneratorConfig.setPrefetchValidityMillis
(long prefetchValidityMs) Sets for how long the pre-fetched IDs can be used.Modifier and TypeMethodDescriptionClientConfig.getFlakeIdGeneratorConfigMap()
Returns the map ofFlakeIdGenerator
configurations, mapped by config name.Modifier and TypeMethodDescriptionClientConfig.addFlakeIdGeneratorConfig
(ClientFlakeIdGeneratorConfig config) Adds a flake ID generator configuration.Modifier and TypeMethodDescriptionClientConfig.setFlakeIdGeneratorConfigMap
(Map<String, ClientFlakeIdGeneratorConfig> map) Sets the map ofFlakeIdGenerator
configurations, mapped by config name.ModifierConstructorDescriptionCopy-constructor