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 | Method and Description |
---|---|
CacheSimpleConfig |
CacheSimpleConfig.addCachePartitionLostListenerConfig(CachePartitionLostListenerConfig listenerConfig)
Adds the CachePartitionLostListenerConfig to partitionLostListenerConfigs.
|
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 |
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 |
CacheSimpleConfig.setAsyncBackupCount(int asyncBackupCount)
Sets the number of asynchronous backups for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setBackupCount(int backupCount)
Sets the number of synchronous backups for this
ICache . |
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 |
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 |
CacheSimpleConfig.setCacheWriterFactory(String cacheWriterFactory)
Sets the factory for this
CacheWriter . |
CacheSimpleConfig |
CacheSimpleConfig.setDisablePerEntryInvalidationEvents(boolean disablePerEntryInvalidationEvents)
Sets invalidation events disabled status for per entry.
|
CacheSimpleConfig |
CacheSimpleConfig.setEventJournalConfig(EventJournalConfig eventJournalConfig)
Sets the
EventJournalConfig for this CacheSimpleConfig |
CacheSimpleConfig |
CacheSimpleConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the eviction configuration for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setExpiryPolicyFactory(String className)
Sets the factory for this
ExpiryPolicy . |
CacheSimpleConfig |
CacheSimpleConfig.setExpiryPolicyFactoryConfig(CacheSimpleConfig.ExpiryPolicyFactoryConfig expiryPolicyFactoryConfig)
Sets the factory configuration for this
ExpiryPolicy . |
CacheSimpleConfig |
CacheSimpleConfig.setHotRestartConfig(HotRestartConfig hotRestartConfig)
Sets the
HotRestartConfig for this CacheSimpleConfig |
CacheSimpleConfig |
CacheSimpleConfig.setInMemoryFormat(InMemoryFormat inMemoryFormat)
Sets the InMemory Format for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setKeyType(String keyType)
Sets the key type for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setManagementEnabled(boolean managementEnabled)
Sets management to enabled or disabled for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setMergePolicyConfig(MergePolicyConfig mergePolicyConfig)
Sets the
MergePolicyConfig for this map. |
CacheSimpleConfig |
CacheSimpleConfig.setName(String name)
Sets the name of this
ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setPartitionLostListenerConfigs(List<CachePartitionLostListenerConfig> partitionLostListenerConfigs)
Sets the PartitionLostListenerConfigs.
|
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 |
CacheSimpleConfig.setSplitBrainProtectionName(String splitBrainProtectionName)
Associates this cache configuration to a split brain protection.
|
CacheSimpleConfig |
CacheSimpleConfig.setStatisticsEnabled(boolean statisticsEnabled)
Sets statistics to enabled or disabled for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setValueType(String valueType)
Sets the value type for this
ICache . |
CacheSimpleConfig |
CacheSimpleConfig.setWanReplicationRef(WanReplicationRef wanReplicationRef)
Sets the WAN target replication reference.
|
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) |
Modifier and Type | Class and Description |
---|---|
class |
CacheSimpleConfigReadOnly
Readonly version of
CacheSimpleConfig |
Modifier and Type | Method and Description |
---|---|
CacheSimpleConfig |
CacheSimpleConfigReadOnly.addCachePartitionLostListenerConfig(CachePartitionLostListenerConfig listenerConfig) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.addEntryListenerConfig(CacheSimpleEntryListenerConfig listenerConfig) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setAsyncBackupCount(int asyncBackupCount) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setBackupCount(int backupCount) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setCacheEntryListeners(List<CacheSimpleEntryListenerConfig> cacheEntryListeners) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setCacheLoaderFactory(String cacheLoaderFactory) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setCacheWriterFactory(String cacheWriterFactory) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setDisablePerEntryInvalidationEvents(boolean disablePerEntryInvalidationEvents) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setEvictionConfig(EvictionConfig evictionConfig) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setExpiryPolicyFactory(String className) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setExpiryPolicyFactoryConfig(CacheSimpleConfig.ExpiryPolicyFactoryConfig expiryPolicyFactoryConfig) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setHotRestartConfig(HotRestartConfig hotRestartConfig) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setInMemoryFormat(InMemoryFormat inMemoryFormat) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setKeyType(String keyType) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setManagementEnabled(boolean managementEnabled) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setMergePolicyConfig(MergePolicyConfig mergePolicyConfig) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setName(String name) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setPartitionLostListenerConfigs(List<CachePartitionLostListenerConfig> partitionLostListenerConfigs) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setReadThrough(boolean readThrough) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setSplitBrainProtectionName(String splitBrainProtectionName) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setStatisticsEnabled(boolean statisticsEnabled) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setValueType(String valueType) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setWanReplicationRef(WanReplicationRef wanReplicationRef) |
CacheSimpleConfig |
CacheSimpleConfigReadOnly.setWriteThrough(boolean writeThrough) |
Modifier and Type | Method and Description |
---|---|
static void |
ConfigValidator.checkCacheConfig(CacheSimpleConfig cacheSimpleConfig,
SplitBrainMergePolicyProvider mergePolicyProvider)
Validates the given
CacheSimpleConfig . |
Constructor and Description |
---|
CacheSimpleConfigReadOnly(CacheSimpleConfig 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 © 2019 Hazelcast, Inc.. All rights reserved.