Package | Description |
---|---|
com.hazelcast.cache.impl |
Hazelcast JSR-107 aka JCache implementation
|
com.hazelcast.cache.impl.operation |
Hazelcast JSR-107 aka JCache implementation
|
com.hazelcast.client.cache.impl |
Hazelcast JSR-107 aka JCache implementation client side
|
com.hazelcast.config |
Provides classes for configuring HazelcastInstance.
|
com.hazelcast.internal.config |
Contains functionality for Hazelcast configurations.
|
Modifier and Type | Class and Description |
---|---|
class |
PreJoinCacheConfig<K,V>
This subclass of
CacheConfig is used to communicate cache configurations in pre-join cache operations when cluster
version is at least 3.9. |
Modifier and Type | Field and Description |
---|---|
protected CacheConfig |
AbstractCacheRecordStore.cacheConfig |
Modifier and Type | Field and Description |
---|---|
protected ConcurrentMap<String,CacheConfig> |
AbstractCacheService.configs
Map from full prefixed cache name to
CacheConfig |
Modifier and Type | Method and Description |
---|---|
static CacheConfig |
PreJoinCacheConfig.asCacheConfig(CacheConfig cacheConfig) |
protected <K,V,C extends javax.cache.configuration.Configuration<K,V>> |
AbstractHazelcastCacheManager.createCacheConfig(String cacheName,
C configuration) |
CacheConfig |
AbstractCacheService.deleteCacheConfig(String cacheNameWithPrefix) |
CacheConfig |
ICacheService.deleteCacheConfig(String cacheNameWithPrefix) |
CacheConfig |
AbstractCacheService.findCacheConfig(String simpleName) |
CacheConfig |
ICacheService.findCacheConfig(String simpleName) |
protected abstract <K,V> CacheConfig<K,V> |
AbstractHazelcastCacheManager.findCacheConfig(String cacheName,
String simpleCacheName) |
protected <K,V> CacheConfig<K,V> |
HazelcastServerCacheManager.findCacheConfig(String cacheName,
String simpleCacheName) |
CacheConfig |
AbstractCacheService.getCacheConfig(String cacheNameWithPrefix) |
CacheConfig |
ICacheService.getCacheConfig(String cacheNameWithPrefix) |
protected abstract <K,V> CacheConfig<K,V> |
AbstractHazelcastCacheManager.getCacheConfig(String cacheName,
String simpleCacheName) |
protected <K,V> CacheConfig<K,V> |
HazelcastServerCacheManager.getCacheConfig(String cacheNameWithPrefix,
String cacheName) |
CacheConfig |
ICacheRecordStore.getConfig()
Gets the configuration of the cache that this store belongs to.
|
CacheConfig |
AbstractCacheRecordStore.getConfig() |
CacheConfig |
AbstractCacheService.putCacheConfigIfAbsent(CacheConfig config) |
CacheConfig |
ICacheService.putCacheConfigIfAbsent(CacheConfig config) |
Modifier and Type | Method and Description |
---|---|
Collection<CacheConfig> |
AbstractCacheService.getCacheConfigs() |
Collection<CacheConfig> |
ICacheService.getCacheConfigs() |
Collection<CacheConfig> |
CachePartitionSegment.getCacheConfigs() |
ConcurrentMap<String,CacheConfig> |
AbstractCacheService.getConfigs() |
Modifier and Type | Method and Description |
---|---|
protected abstract <K,V> void |
AbstractHazelcastCacheManager.addCacheConfigIfAbsent(CacheConfig<K,V> cacheConfig) |
protected <K,V> void |
HazelcastServerCacheManager.addCacheConfigIfAbsent(CacheConfig<K,V> cacheConfig) |
static CacheConfig |
PreJoinCacheConfig.asCacheConfig(CacheConfig cacheConfig) |
protected abstract <K,V> void |
AbstractHazelcastCacheManager.createCacheConfig(String cacheName,
CacheConfig<K,V> config) |
protected <K,V> void |
HazelcastServerCacheManager.createCacheConfig(String cacheName,
CacheConfig<K,V> config) |
protected abstract <K,V> ICacheInternal<K,V> |
AbstractHazelcastCacheManager.createCacheProxy(CacheConfig<K,V> cacheConfig) |
protected <K,V> ICacheInternal<K,V> |
HazelcastServerCacheManager.createCacheProxy(CacheConfig<K,V> cacheConfig) |
protected void |
AbstractCacheService.destroySegments(CacheConfig cacheConfig) |
<K,V> ICache<K,V> |
AbstractHazelcastCacheManager.getOrCreateCache(String cacheName,
CacheConfig<K,V> cacheConfig) |
static PreJoinCacheConfig |
PreJoinCacheConfig.of(CacheConfig cacheConfig) |
CacheConfig |
AbstractCacheService.putCacheConfigIfAbsent(CacheConfig config) |
CacheConfig |
ICacheService.putCacheConfigIfAbsent(CacheConfig config) |
void |
AbstractCacheService.setManagementEnabled(CacheConfig cacheConfig,
String cacheNameWithPrefix,
boolean enabled) |
void |
ICacheService.setManagementEnabled(CacheConfig cacheConfig,
String cacheNameWithPrefix,
boolean enabled) |
void |
AbstractCacheService.setStatisticsEnabled(CacheConfig cacheConfig,
String cacheNameWithPrefix,
boolean enabled) |
void |
ICacheService.setStatisticsEnabled(CacheConfig cacheConfig,
String cacheNameWithPrefix,
boolean enabled) |
void |
AbstractCacheService.setTenantControl(CacheConfig cacheConfig) |
<K,V> void |
ICacheService.setTenantControl(CacheConfig<K,V> cacheConfig) |
protected abstract <K,V> void |
AbstractHazelcastCacheManager.validateCacheConfig(CacheConfig<K,V> cacheConfig) |
protected <K,V> void |
HazelcastServerCacheManager.validateCacheConfig(CacheConfig<K,V> cacheConfig) |
static <K> void |
CacheProxyUtil.validateConfiguredTypes(CacheConfig cacheConfig,
K key)
Validates that the configured key matches the provided key.
|
static <K,V> void |
CacheProxyUtil.validateConfiguredTypes(CacheConfig cacheConfig,
K key,
V value)
Validates the configured key and value types matches the provided key, value types.
|
static <K,V> void |
CacheProxyUtil.validateConfiguredTypes(CacheConfig cacheConfig,
K key,
V value1,
V value2)
Validates the configured key and value types matches the provided key, value types.
|
Constructor and Description |
---|
CacheMXBeanImpl(CacheConfig cacheConfig) |
PreJoinCacheConfig(CacheConfig cacheConfig)
Constructor that copies given
cacheConfig 's properties to a new PreJoinCacheConfig . |
PreJoinCacheConfig(CacheConfig cacheConfig,
boolean resolved) |
Modifier and Type | Method and Description |
---|---|
void |
OnJoinCacheOperation.addCacheConfig(CacheConfig cacheConfig) |
Constructor and Description |
---|
CacheCreateConfigOperation(CacheConfig config,
boolean createAlsoOnOthers)
Deprecated.
|
CacheCreateConfigOperation(CacheConfig config,
boolean createAlsoOnOthers,
boolean ignoreLocal)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected <K,V> CacheConfig<K,V> |
HazelcastClientCacheManager.findCacheConfig(String cacheName,
String simpleCacheName) |
protected <K,V> CacheConfig<K,V> |
HazelcastClientCacheManager.getCacheConfig(String cacheName,
String simpleCacheName) |
Modifier and Type | Method and Description |
---|---|
protected <K,V> void |
HazelcastClientCacheManager.addCacheConfigIfAbsent(CacheConfig<K,V> cacheConfig) |
protected <K,V> void |
HazelcastClientCacheManager.createCacheConfig(String cacheName,
CacheConfig<K,V> config) |
protected <K,V> ICacheInternal<K,V> |
HazelcastClientCacheManager.createCacheProxy(CacheConfig<K,V> cacheConfig) |
protected <K,V> void |
HazelcastClientCacheManager.validateCacheConfig(CacheConfig<K,V> cacheConfig) |
Modifier and Type | Class and Description |
---|---|
class |
CacheConfigReadOnly<K,V>
Deprecated.
this class will be removed in 4.0; it is meant for internal usage only.
|
Modifier and Type | Method and Description |
---|---|
<T extends CacheConfig<K,V>> |
CacheConfig.copy(T target,
boolean resolved)
Copy this CacheConfig to given
target object whose type extends CacheConfig. |
Modifier and Type | Method and Description |
---|---|
CacheConfig<K,V> |
CacheConfigReadOnly.addCacheEntryListenerConfiguration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
Deprecated.
|
CacheConfig<K,V> |
LegacyCacheConfig.getConfigAndReset() |
CacheConfig<K,V> |
CacheConfigReadOnly.removeCacheEntryListenerConfiguration(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
Deprecated.
|
CacheConfig<K,V> |
CacheConfigReadOnly.setAsyncBackupCount(int asyncBackupCount)
Deprecated.
|
CacheConfig<K,V> |
CacheConfig.setAsyncBackupCount(int asyncBackupCount)
Sets the number of asynchronous backups for this
ICache . |
CacheConfig<K,V> |
CacheConfigReadOnly.setBackupCount(int backupCount)
Deprecated.
|
CacheConfig<K,V> |
CacheConfig.setBackupCount(int backupCount)
Sets the number of synchronous backups.
|
CacheConfig<K,V> |
CacheConfigReadOnly.setEvictionConfig(EvictionConfig evictionConfig)
Deprecated.
|
CacheConfig<K,V> |
CacheConfig.setEvictionConfig(EvictionConfig evictionConfig)
Sets the
EvictionConfig instance for eviction configuration for this ICache . |
CacheConfig<K,V> |
CacheConfigReadOnly.setInMemoryFormat(InMemoryFormat inMemoryFormat)
Deprecated.
|
CacheConfig<K,V> |
CacheConfig.setInMemoryFormat(InMemoryFormat inMemoryFormat)
Data type that will be used to store records in this
ICache . |
CacheConfig<K,V> |
CacheConfigReadOnly.setManagementEnabled(boolean enabled)
Deprecated.
|
CacheConfig<K,V> |
CacheConfigReadOnly.setManagerPrefix(String managerPrefix)
Deprecated.
|
CacheConfig<K,V> |
CacheConfig.setManagerPrefix(String managerPrefix)
Sets the manager prefix of the
ICache . |
CacheConfig<K,V> |
CacheConfigReadOnly.setName(String name)
Deprecated.
|
CacheConfig<K,V> |
CacheConfig.setName(String name)
Sets the name of this
ICache . |
CacheConfig<K,V> |
CacheConfigReadOnly.setPartitionLostListenerConfigs(List<CachePartitionLostListenerConfig> partitionLostListenerConfigs)
Deprecated.
|
CacheConfig<K,V> |
CacheConfig.setPartitionLostListenerConfigs(List<CachePartitionLostListenerConfig> partitionLostListenerConfigs)
Sets the WAN target replication reference.
|
CacheConfig<K,V> |
CacheConfigReadOnly.setQuorumName(String quorumName)
Deprecated.
|
CacheConfig<K,V> |
CacheConfig.setQuorumName(String quorumName)
Associates this cache configuration to a quorum.
|
CacheConfig<K,V> |
CacheConfigReadOnly.setStoreByValue(boolean storeByValue)
Deprecated.
|
CacheConfig<K,V> |
CacheConfigReadOnly.setTypes(Class<K> keyType,
Class<V> valueType)
Deprecated.
|
CacheConfig<K,V> |
CacheConfigReadOnly.setUriString(String uriString)
Deprecated.
|
CacheConfig<K,V> |
CacheConfig.setUriString(String uriString)
Sets the URI string, which is the global identifier of the
ICache . |
CacheConfig<K,V> |
CacheConfigReadOnly.setWanReplicationRef(WanReplicationRef wanReplicationRef)
Deprecated.
|
CacheConfig<K,V> |
CacheConfig.setWanReplicationRef(WanReplicationRef wanReplicationRef) |
Modifier and Type | Method and Description |
---|---|
static <K,V> TenantControl |
CacheConfigAccessor.getTenantControl(CacheConfig<K,V> cacheConfig) |
static <K,V> void |
CacheConfigAccessor.setTenantControl(CacheConfig<K,V> cacheConfig,
TenantControl tenantControl) |
Constructor and Description |
---|
LegacyCacheConfig(CacheConfig<K,V> config) |
Modifier and Type | Method and Description |
---|---|
static void |
ConfigValidator.checkCacheConfig(CacheConfig cacheConfig,
CacheMergePolicyProvider mergePolicyProvider)
Validates the given
CacheConfig . |
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.