| Package | Description |
|---|---|
| org.apache.ignite |
Contains entry-point Ignite & HPC APIs.
|
| org.apache.ignite.configuration |
Contains configuration-related classes.
|
| org.apache.ignite.internal |
Contains main implementation.
|
| org.apache.ignite.internal.processors.cache |
This package contain cache-related processors & persistence implementation.
|
| org.apache.ignite.internal.processors.platform.utils |
| Modifier and Type | Method and Description |
|---|---|
<K,V> IgniteCache<K,V> |
Ignite.createCache(CacheConfiguration<K,V> cacheCfg,
NearCacheConfiguration<K,V> nearCfg)
Dynamically starts new cache with the given cache configuration.
|
<K,V> IgniteCache<K,V> |
Ignite.createNearCache(String cacheName,
NearCacheConfiguration<K,V> nearCfg)
Starts a near cache on local node if cache was previously started with one of the
Ignite.createCache(CacheConfiguration) or Ignite.createCache(CacheConfiguration, NearCacheConfiguration)
methods. |
<K,V> IgniteCache<K,V> |
Ignite.getOrCreateCache(CacheConfiguration<K,V> cacheCfg,
NearCacheConfiguration<K,V> nearCfg)
Gets existing cache with the given cache configuration or creates one if it does not exist.
|
<K,V> IgniteCache<K,V> |
Ignite.getOrCreateNearCache(String cacheName,
NearCacheConfiguration<K,V> nearCfg)
Gets existing near cache with the given name or creates a new one.
|
| Modifier and Type | Method and Description |
|---|---|
NearCacheConfiguration<K,V> |
CacheConfiguration.getNearConfiguration() |
NearCacheConfiguration<K,V> |
NearCacheConfiguration.setNearEvictionPolicy(EvictionPolicy<K,V> nearEvictPlc)
Deprecated.
Use
setNearEvictionPolicyFactory(Factory) instead. |
NearCacheConfiguration<K,V> |
NearCacheConfiguration.setNearEvictionPolicyFactory(@Nullable javax.cache.configuration.Factory<? extends EvictionPolicy<? super K,? super V>> nearEvictPlcFactory)
Sets cache eviction policy factory.
|
NearCacheConfiguration<K,V> |
NearCacheConfiguration.setNearStartSize(int nearStartSize)
Start size for near cache.
|
| Modifier and Type | Method and Description |
|---|---|
CacheConfiguration<K,V> |
CacheConfiguration.setNearConfiguration(NearCacheConfiguration<K,V> nearCfg)
Sets the near cache configuration to use on all cache nodes.
|
| Constructor and Description |
|---|
NearCacheConfiguration(NearCacheConfiguration<K,V> ccfg)
Creates near cache configuration copying properties from passed in configuration.
|
| Modifier and Type | Method and Description |
|---|---|
<K,V> IgniteCache<K,V> |
IgniteKernal.createCache(CacheConfiguration<K,V> cacheCfg,
NearCacheConfiguration<K,V> nearCfg)
Dynamically starts new cache with the given cache configuration.
|
<K,V> IgniteCache<K,V> |
IgniteKernal.createNearCache(String cacheName,
NearCacheConfiguration<K,V> nearCfg)
Starts a near cache on local node if cache was previously started with one of the
Ignite.createCache(CacheConfiguration) or Ignite.createCache(CacheConfiguration, NearCacheConfiguration)
methods. |
<K,V> IgniteCache<K,V> |
IgniteKernal.getOrCreateCache(CacheConfiguration<K,V> cacheCfg,
NearCacheConfiguration<K,V> nearCfg)
Gets existing cache with the given cache configuration or creates one if it does not exist.
|
<K,V> IgniteCache<K,V> |
IgniteKernal.getOrCreateNearCache(String cacheName,
NearCacheConfiguration<K,V> nearCfg)
Gets existing near cache with the given name or creates a new one.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable NearCacheConfiguration |
StartCacheInfo.getReqNearCfg() |
NearCacheConfiguration |
DynamicCacheChangeRequest.nearCacheConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
List<T2<DynamicCacheDescriptor,NearCacheConfiguration>> |
LocalJoinCachesContext.caches() |
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<Boolean> |
GridCacheProcessor.dynamicStartCache(@Nullable CacheConfiguration ccfg,
String cacheName,
@Nullable NearCacheConfiguration nearCfg,
boolean failIfExists,
boolean failIfNotStarted,
boolean checkThreadTx)
Dynamically starts cache.
|
IgniteInternalFuture<Boolean> |
GridCacheProcessor.dynamicStartCache(@Nullable CacheConfiguration ccfg,
String cacheName,
@Nullable NearCacheConfiguration nearCfg,
CacheType cacheType,
boolean sql,
boolean failIfExists,
boolean failIfNotStarted,
boolean checkThreadTx)
Dynamically starts cache.
|
void |
DynamicCacheChangeRequest.nearCacheConfiguration(NearCacheConfiguration nearCacheCfg) |
void |
GridCacheProcessor.prepareCacheStart(DynamicCacheDescriptor desc,
@Nullable NearCacheConfiguration reqNearCfg,
AffinityTopologyVersion exchTopVer,
boolean disabledAfterStart,
boolean clientCache) |
| Constructor and Description |
|---|
StartCacheInfo(CacheConfiguration conf,
DynamicCacheDescriptor desc,
NearCacheConfiguration reqNearCfg,
AffinityTopologyVersion exchTopVer,
boolean disabledAfterStart) |
StartCacheInfo(CacheConfiguration conf,
DynamicCacheDescriptor desc,
NearCacheConfiguration reqNearCfg,
AffinityTopologyVersion exchTopVer,
boolean disabledAfterStart,
boolean clientCache) |
StartCacheInfo(DynamicCacheDescriptor desc,
NearCacheConfiguration reqNearCfg,
AffinityTopologyVersion exchTopVer,
boolean disabledAfterStart) |
| Constructor and Description |
|---|
LocalJoinCachesContext(List<T2<DynamicCacheDescriptor,NearCacheConfiguration>> locJoinStartCaches,
List<DynamicCacheDescriptor> locJoinInitCaches,
Map<Integer,CacheGroupDescriptor> cacheGrpDescs,
Map<String,DynamicCacheDescriptor> cacheDescs) |
| Modifier and Type | Method and Description |
|---|---|
static NearCacheConfiguration |
PlatformConfigurationUtils.readNearConfiguration(BinaryRawReader in)
Reads the near config.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020