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.config |
Contains functionality for Hazelcast configurations.
|
com.hazelcast.internal.dynamicconfig |
Classes related to Dynamic Configuration.
|
Modifier and Type | Method and Description |
---|---|
CacheSimpleConfig |
ClientDynamicClusterConfig.findCacheConfig(String name) |
CacheSimpleConfig |
ClientDynamicClusterConfig.findCacheConfigOrNull(String name) |
CacheSimpleConfig |
ClientDynamicClusterConfig.getCacheConfig(String name) |
Modifier and Type | Method and Description |
---|---|
Map<String,CacheSimpleConfig> |
ClientDynamicClusterConfig.getCacheConfigs() |
Modifier and Type | Method and Description |
---|---|
Config |
ClientDynamicClusterConfig.addCacheConfig(CacheSimpleConfig cacheConfig) |
Modifier and Type | Method and Description |
---|---|
Config |
ClientDynamicClusterConfig.setCacheConfigs(Map<String,CacheSimpleConfig> cacheConfigs) |
Modifier and Type | Class and Description |
---|---|
class |
CacheSimpleConfigReadOnly
Deprecated.
this class will be removed in 4.0; it is meant for internal usage only.
|
Modifier and Type | Method and Description |
---|---|
CacheSimpleConfig |
CacheSimpleConfigReadOnly.addCachePartitionLostListenerConfig(CachePartitionLostListenerConfig listenerConfig)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.addCachePartitionLostListenerConfig(CachePartitionLostListenerConfig listenerConfig)
Adds the CachePartitionLostListenerConfig to partitionLostListenerConfigs.
|
CacheSimpleConfig |
CacheSimpleConfigReadOnly.addEntryListenerConfig(CacheSimpleEntryListenerConfig listenerConfig)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.addEntryListenerConfig(CacheSimpleEntryListenerConfig listenerConfig)
Adds
CacheSimpleEntryListenerConfig to this ICache . |
CacheSimpleConfig |
Config.findCacheConfig(String name)
Returns a read-only
CacheSimpleConfig configuration for the given name. |
CacheSimpleConfig |
Config.findCacheConfigOrNull(String name)
Returns the cache config with the given name or
null if there is none. |
CacheSimpleConfig |
CacheSimpleConfig.getAsReadOnly()
Deprecated.
this method will be removed in 4.0; it is meant for internal usage only
|
CacheSimpleConfig |
Config.getCacheConfig(String name)
Returns the CacheSimpleConfig for the given name, creating one
if necessary and adding it to the collection of known configurations.
|
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setAsyncBackupCount(int asyncBackupCount)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setAsyncBackupCount(int asyncBackupCount)
Sets the number of asynchronous backups for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setBackupCount(int backupCount)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setBackupCount(int backupCount)
Sets the number of synchronous backups for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setCacheEntryListeners(List<CacheSimpleEntryListenerConfig> cacheEntryListeners)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setCacheEntryListeners(List<CacheSimpleEntryListenerConfig> cacheEntryListeners)
Sets a list of
CacheSimpleEntryListenerConfig for this ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setCacheLoader(String cacheLoader)
Set classname of a class to be used as
CacheLoader . |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setCacheLoaderFactory(String cacheLoaderFactory)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setCacheLoaderFactory(String cacheLoaderFactory)
Sets the factory for this
CacheLoader . |
CacheSimpleConfig |
CacheSimpleConfig.setCacheWriter(String cacheWriter)
Set classname of a class to be used as
CacheWriter . |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setCacheWriterFactory(String cacheWriterFactory)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setCacheWriterFactory(String cacheWriterFactory)
Sets the factory for this
CacheWriter . |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setEvictionConfig(EvictionConfig evictionConfig)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the eviction configuration for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setExpiryPolicyFactory(String className)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setExpiryPolicyFactory(String className)
Sets the factory for this
ExpiryPolicy . |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setExpiryPolicyFactoryConfig(CacheSimpleConfig.ExpiryPolicyFactoryConfig expiryPolicyFactoryConfig)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setExpiryPolicyFactoryConfig(CacheSimpleConfig.ExpiryPolicyFactoryConfig expiryPolicyFactoryConfig)
Sets the factory configuration for this
ExpiryPolicy . |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setHotRestartConfig(HotRestartConfig hotRestartConfig)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setHotRestartConfig(HotRestartConfig hotRestartConfig)
Sets the
HotRestartConfig for this CacheSimpleConfig |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setInMemoryFormat(InMemoryFormat inMemoryFormat)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setInMemoryFormat(InMemoryFormat inMemoryFormat)
Sets the InMemory Format for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setKeyType(String keyType)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setKeyType(String keyType)
Sets the key type for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setManagementEnabled(boolean managementEnabled)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setManagementEnabled(boolean managementEnabled)
Sets management to enabled or disabled for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setName(String name)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setName(String name)
Sets the name of this
ICache . |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setPartitionLostListenerConfigs(List<CachePartitionLostListenerConfig> partitionLostListenerConfigs)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setPartitionLostListenerConfigs(List<CachePartitionLostListenerConfig> partitionLostListenerConfigs)
Sets the PartitionLostListenerConfigs.
|
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setQuorumName(String quorumName)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setQuorumName(String quorumName)
Associates this cache configuration to a quorum.
|
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setReadThrough(boolean readThrough)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setReadThrough(boolean readThrough)
Enables or disables read-through: a read loads the entry from the data store if it is not already in the cache.
|
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setStatisticsEnabled(boolean statisticsEnabled)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setStatisticsEnabled(boolean statisticsEnabled)
Sets statistics to enabled or disabled for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setValueType(String valueType)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setValueType(String valueType)
Sets the value type for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setWriteThrough(boolean writeThrough)
Deprecated.
|
CacheSimpleConfig |
CacheSimpleConfig.setWriteThrough(boolean writeThrough)
Enables or disables write-through for this
ICache : a write to the queue also loads
the entry into the data store. |
Modifier and Type | Method and Description |
---|---|
Map<String,CacheSimpleConfig> |
Config.getCacheConfigs()
Returns the map of cache configurations, mapped by config name.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.addCacheConfig(CacheSimpleConfig cacheConfig)
Adds the cache configuration.
|
Modifier and Type | Method and Description |
---|---|
Config |
Config.setCacheConfigs(Map<String,CacheSimpleConfig> cacheConfigs)
Sets the map of cache configurations, mapped by config name.
|
Constructor and Description |
---|
CacheConfig(CacheSimpleConfig simpleConfig) |
CacheSimpleConfig(CacheSimpleConfig cacheSimpleConfig) |
CacheSimpleConfigReadOnly(CacheSimpleConfig cacheSimpleConfig)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
ConfigValidator.checkCacheConfig(CacheSimpleConfig cacheSimpleConfig,
CacheMergePolicyProvider mergePolicyProvider)
Validates the given
CacheSimpleConfig . |
Modifier and Type | Method and Description |
---|---|
CacheSimpleConfig |
DynamicConfigurationAwareConfig.findCacheConfig(String name) |
CacheSimpleConfig |
DynamicConfigurationAwareConfig.findCacheConfigOrNull(String name) |
CacheSimpleConfig |
ClusterWideConfigurationService.findCacheSimpleConfig(String name) |
CacheSimpleConfig |
ConfigurationService.findCacheSimpleConfig(String name)
Finds existing Cache config.
|
CacheSimpleConfig |
DynamicConfigurationAwareConfig.getCacheConfig(String name) |
Modifier and Type | Method and Description |
---|---|
Map<String,CacheSimpleConfig> |
DynamicConfigurationAwareConfig.getCacheConfigs() |
Map<String,CacheSimpleConfig> |
ClusterWideConfigurationService.getCacheSimpleConfigs() |
Map<String,CacheSimpleConfig> |
ConfigurationService.getCacheSimpleConfigs()
Returns all registered cache configurations.
|
Modifier and Type | Method and Description |
---|---|
Config |
DynamicConfigurationAwareConfig.addCacheConfig(CacheSimpleConfig cacheConfig) |
void |
DynamicConfigListener.onConfigRegistered(CacheSimpleConfig configObject)
Called when a new
CacheSimpleConfig object is created locally. |
void |
EmptyDynamicConfigListener.onConfigRegistered(CacheSimpleConfig configObject) |
Modifier and Type | Method and Description |
---|---|
Config |
DynamicConfigurationAwareConfig.setCacheConfigs(Map<String,CacheSimpleConfig> cacheConfigs) |
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.