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