Uses of Class
com.hazelcast.config.FlakeIdGeneratorConfig
Packages that use FlakeIdGeneratorConfig
-
Uses of FlakeIdGeneratorConfig in com.hazelcast.config
Methods in com.hazelcast.config that return FlakeIdGeneratorConfigModifier and TypeMethodDescriptionConfig.findFlakeIdGeneratorConfig
(String name) Returns aFlakeIdGeneratorConfig
configuration for the given flake ID generator name.Config.getFlakeIdGeneratorConfig
(String name) Returns theFlakeIdGeneratorConfig
for the given name, creating one if necessary and adding it to the collection of known configurations.FlakeIdGeneratorConfig.setAllowedFutureMillis
(long allowedFutureMillis) Sets how far to the future is the generator allowed to go to generate IDs without blocking.FlakeIdGeneratorConfig.setBitsNodeId
(int bitsNodeId) Sets the bit-length of node id component.FlakeIdGeneratorConfig.setBitsSequence
(int bitsSequence) Sets the bit-length of the sequence component.FlakeIdGeneratorConfig.setEpochStart
(long epochStart) Sets the offset of timestamp component in milliseconds.Sets the name or name pattern for this config.FlakeIdGeneratorConfig.setNodeIdOffset
(long nodeIdOffset) Sets the offset that will be added to the node ID assigned to cluster member for this generator.FlakeIdGeneratorConfig.setPrefetchCount
(int prefetchCount) Sets how many IDs are pre-fetched on the background when one call toFlakeIdGenerator.newId()
is made.FlakeIdGeneratorConfig.setPrefetchValidityMillis
(long prefetchValidityMs) Sets for how long the pre-fetched IDs can be used.FlakeIdGeneratorConfig.setStatisticsEnabled
(boolean statisticsEnabled) Enables or disables statistics gathering ofLocalFlakeIdGeneratorStats
.Methods in com.hazelcast.config that return types with arguments of type FlakeIdGeneratorConfigModifier and TypeMethodDescriptionConfig.getFlakeIdGeneratorConfigs()
Returns the map ofFlakeIdGenerator
configurations, mapped by config name.Methods in com.hazelcast.config with parameters of type FlakeIdGeneratorConfigModifier and TypeMethodDescriptionConfig.addFlakeIdGeneratorConfig
(FlakeIdGeneratorConfig config) Adds a flake ID generator configuration.Method parameters in com.hazelcast.config with type arguments of type FlakeIdGeneratorConfigModifier and TypeMethodDescriptionConfig.setFlakeIdGeneratorConfigs
(Map<String, FlakeIdGeneratorConfig> map) Sets the map ofFlakeIdGenerator
configurations, mapped by config name.Constructors in com.hazelcast.config with parameters of type FlakeIdGeneratorConfigModifierConstructorDescriptionCopy-constructor