Package | Description |
---|---|
com.hazelcast.client.impl.clientside |
Contains most of the client side HazelcastInstance implementation functionality.
|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
com.hazelcast.internal.dynamicconfig |
Classes related to Dynamic Configuration.
|
Modifier and Type | Method and Description |
---|---|
FlakeIdGeneratorConfig |
ClientDynamicClusterConfig.findFlakeIdGeneratorConfig(String name) |
FlakeIdGeneratorConfig |
ClientDynamicClusterConfig.getFlakeIdGeneratorConfig(String name) |
Modifier and Type | Method and Description |
---|---|
Map<String,FlakeIdGeneratorConfig> |
ClientDynamicClusterConfig.getFlakeIdGeneratorConfigs() |
Modifier and Type | Method and Description |
---|---|
Config |
ClientDynamicClusterConfig.addFlakeIdGeneratorConfig(FlakeIdGeneratorConfig flakeIdGeneratorConfig) |
Modifier and Type | Method and Description |
---|---|
Config |
ClientDynamicClusterConfig.setFlakeIdGeneratorConfigs(Map<String,FlakeIdGeneratorConfig> map) |
Modifier and Type | Class and Description |
---|---|
class |
FlakeIdGeneratorConfigReadOnly
Deprecated.
this class will be removed in 4.0; it is meant for internal usage only.
|
Modifier and Type | Method and Description |
---|---|
FlakeIdGeneratorConfig |
Config.findFlakeIdGeneratorConfig(String name)
Returns a
FlakeIdGeneratorConfig configuration for the given flake ID generator name. |
FlakeIdGeneratorConfig |
Config.getFlakeIdGeneratorConfig(String name)
Returns the
FlakeIdGeneratorConfig for the given name, creating
one if necessary and adding it to the collection of known configurations. |
FlakeIdGeneratorConfig |
FlakeIdGeneratorConfigReadOnly.setIdOffset(long idOffset)
Deprecated.
|
FlakeIdGeneratorConfig |
FlakeIdGeneratorConfig.setIdOffset(long idOffset)
Sets the offset that will be added to the returned IDs.
|
FlakeIdGeneratorConfig |
FlakeIdGeneratorConfigReadOnly.setNodeIdOffset(long nodeIdOffset)
Deprecated.
|
FlakeIdGeneratorConfig |
FlakeIdGeneratorConfig.setNodeIdOffset(long nodeIdOffset)
Sets the offset that will be added to the node ID assigned to cluster member for this generator.
|
FlakeIdGeneratorConfig |
FlakeIdGeneratorConfigReadOnly.setPrefetchCount(int prefetchCount)
Deprecated.
|
FlakeIdGeneratorConfig |
FlakeIdGeneratorConfig.setPrefetchCount(int prefetchCount)
Sets how many IDs are pre-fetched on the background when one call to
FlakeIdGenerator.newId() is made. |
FlakeIdGeneratorConfig |
FlakeIdGeneratorConfigReadOnly.setPrefetchValidityMillis(long prefetchValidityMs)
Deprecated.
|
FlakeIdGeneratorConfig |
FlakeIdGeneratorConfig.setPrefetchValidityMillis(long prefetchValidityMs)
Sets for how long the pre-fetched IDs can be used.
|
FlakeIdGeneratorConfig |
FlakeIdGeneratorConfigReadOnly.setStatisticsEnabled(boolean statisticsEnabled)
Deprecated.
|
FlakeIdGeneratorConfig |
FlakeIdGeneratorConfig.setStatisticsEnabled(boolean statisticsEnabled)
Enables or disables statistics gathering of
LocalFlakeIdGeneratorStats . |
Modifier and Type | Method and Description |
---|---|
Map<String,FlakeIdGeneratorConfig> |
Config.getFlakeIdGeneratorConfigs()
Returns the map of
FlakeIdGenerator configurations,
mapped by config name. |
Modifier and Type | Method and Description |
---|---|
Config |
Config.addFlakeIdGeneratorConfig(FlakeIdGeneratorConfig config)
Adds a flake ID generator configuration.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setFlakeIdGeneratorConfigs(Map<String,FlakeIdGeneratorConfig> map)
Sets the map of
FlakeIdGenerator configurations,
mapped by config name. |
Constructor and Description |
---|
FlakeIdGeneratorConfig(FlakeIdGeneratorConfig other)
Copy-constructor
|
Modifier and Type | Method and Description |
---|---|
FlakeIdGeneratorConfig |
DynamicConfigurationAwareConfig.findFlakeIdGeneratorConfig(String name) |
FlakeIdGeneratorConfig |
ClusterWideConfigurationService.findFlakeIdGeneratorConfig(String baseName) |
FlakeIdGeneratorConfig |
ConfigurationService.findFlakeIdGeneratorConfig(String name)
Finds existing FlakeIdGeneratorConfig config.
|
FlakeIdGeneratorConfig |
DynamicConfigurationAwareConfig.getFlakeIdGeneratorConfig(String name) |
Modifier and Type | Method and Description |
---|---|
Map<String,FlakeIdGeneratorConfig> |
DynamicConfigurationAwareConfig.getFlakeIdGeneratorConfigs() |
Map<String,FlakeIdGeneratorConfig> |
ClusterWideConfigurationService.getFlakeIdGeneratorConfigs() |
Map<String,FlakeIdGeneratorConfig> |
ConfigurationService.getFlakeIdGeneratorConfigs()
Returns all registered FlakeIdGenerator configurations.
|
Modifier and Type | Method and Description |
---|---|
Config |
DynamicConfigurationAwareConfig.addFlakeIdGeneratorConfig(FlakeIdGeneratorConfig config) |
Modifier and Type | Method and Description |
---|---|
Config |
DynamicConfigurationAwareConfig.setFlakeIdGeneratorConfigs(Map<String,FlakeIdGeneratorConfig> map) |
Copyright © 2019 Hazelcast, Inc.. All Rights Reserved.