Package | Description |
---|---|
org.apache.ignite |
Contains entry-point Ignite & HPC APIs.
|
org.apache.ignite.cache.spring |
Contains implementation of Spring cache abstraction and
@Cacheable annotation. |
org.apache.ignite.configuration |
Contains configuration-related classes.
|
org.apache.ignite.plugin |
Contains plugins management API.
|
Modifier and Type | Method and Description |
---|---|
<K,V> void |
IgniteSpringBean.addCacheConfiguration(CacheConfiguration<K,V> cacheCfg)
Adds cache configuration template.
|
<K,V> void |
Ignite.addCacheConfiguration(CacheConfiguration<K,V> cacheCfg)
Adds cache configuration template.
|
<K,V> IgniteCache<K,V> |
IgniteSpringBean.createCache(CacheConfiguration<K,V> cacheCfg)
Dynamically starts new cache with the given cache configuration.
|
<K,V> IgniteCache<K,V> |
Ignite.createCache(CacheConfiguration<K,V> cacheCfg)
Dynamically starts new cache with the given cache configuration.
|
<K,V> IgniteCache<K,V> |
IgniteSpringBean.createCache(CacheConfiguration<K,V> cacheCfg,
NearCacheConfiguration<K,V> nearCfg)
Dynamically starts new cache with the given cache configuration.
|
<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> |
IgniteSpringBean.getOrCreateCache(CacheConfiguration<K,V> cacheCfg)
Gets existing cache with the given name or creates new one with the given configuration.
|
<K,V> IgniteCache<K,V> |
Ignite.getOrCreateCache(CacheConfiguration<K,V> cacheCfg)
Gets existing cache with the given name or creates new one with the given configuration.
|
<K,V> IgniteCache<K,V> |
IgniteSpringBean.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.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.
|
Modifier and Type | Method and Description |
---|---|
CacheConfiguration<Object,Object> |
SpringCacheManager.getDynamicCacheConfiguration()
Gets dynamic cache configuration template.
|
Modifier and Type | Method and Description |
---|---|
void |
SpringCacheManager.setDynamicCacheConfiguration(CacheConfiguration<Object,Object> dynamicCacheCfg)
Sets dynamic cache configuration template.
|
Modifier and Type | Method and Description |
---|---|
CacheConfiguration[] |
IgniteConfiguration.getCacheConfiguration()
Gets configuration (descriptors) for all caches.
|
CacheConfiguration |
CacheConfiguration.setAffinity(AffinityFunction aff)
Sets affinity for cache keys.
|
CacheConfiguration |
CacheConfiguration.setAffinityMapper(AffinityKeyMapper affMapper)
Sets custom affinity mapper.
|
CacheConfiguration |
CacheConfiguration.setAtomicityMode(CacheAtomicityMode atomicityMode)
Sets cache atomicity mode.
|
CacheConfiguration |
CacheConfiguration.setAtomicWriteOrderMode(CacheAtomicWriteOrderMode atomicWriteOrderMode)
Sets cache write ordering mode.
|
CacheConfiguration |
CacheConfiguration.setBackups(int backups)
Sets number of nodes used to back up single partition for
CacheMode.PARTITIONED cache. |
CacheConfiguration |
CacheConfiguration.setCacheMode(CacheMode cacheMode)
Sets caching mode.
|
CacheConfiguration |
CacheConfiguration.setCacheStoreFactory(javax.cache.configuration.Factory<? extends CacheStore<? super K,? super V>> storeFactory)
Sets factory fpr persistent storage for cache data.
|
CacheConfiguration |
CacheConfiguration.setCopyOnRead(boolean cpOnRead)
Sets copy on read flag.
|
CacheConfiguration |
CacheConfiguration.setDefaultLockTimeout(long dfltLockTimeout)
Sets default lock timeout in milliseconds.
|
CacheConfiguration |
CacheConfiguration.setEagerTtl(boolean eagerTtl)
Sets eager ttl flag.
|
CacheConfiguration |
CacheConfiguration.setEvictionFilter(EvictionFilter<K,V> evictFilter)
Sets eviction filter.
|
CacheConfiguration |
CacheConfiguration.setEvictionPolicy(EvictionPolicy evictPlc)
Sets cache eviction policy.
|
CacheConfiguration |
CacheConfiguration.setEvictMaxOverflowRatio(float evictMaxOverflowRatio)
Sets maximum eviction overflow ratio.
|
CacheConfiguration |
CacheConfiguration.setEvictSynchronized(boolean evictSync)
Sets flag indicating whether eviction is synchronized with backup nodes or near caches
(or the rest of the nodes for replicated cache).
|
CacheConfiguration |
CacheConfiguration.setEvictSynchronizedConcurrencyLevel(int evictSyncConcurrencyLvl)
Sets concurrency level for synchronized evictions.
|
CacheConfiguration |
CacheConfiguration.setEvictSynchronizedKeyBufferSize(int evictKeyBufSize)
Sets eviction key buffer size.
|
CacheConfiguration |
CacheConfiguration.setEvictSynchronizedTimeout(long evictSyncTimeout)
Sets timeout for synchronized evictions.
|
CacheConfiguration |
CacheConfiguration.setIndexedTypes(Class<?>... indexedTypes)
Array of key and value type pairs to be indexed (thus array length must be always even).
|
CacheConfiguration |
CacheConfiguration.setInterceptor(CacheInterceptor<K,V> interceptor)
Sets cache interceptor.
|
CacheConfiguration |
CacheConfiguration.setInvalidate(boolean invalidate)
Sets invalidation flag for near cache entries in this transaction.
|
CacheConfiguration |
CacheConfiguration.setLoadPreviousValue(boolean loadPrevVal)
Sets flag indicating whether value should be loaded from store if it is not in the cache
for following cache operations:
IgniteCache.putIfAbsent(Object, Object)
IgniteCache.replace(Object, Object)
IgniteCache.replace(Object, Object, Object)
IgniteCache.remove(Object, Object)
IgniteCache.getAndPut(Object, Object)
IgniteCache.getAndRemove(Object)
IgniteCache.getAndReplace(Object, Object)
IgniteCache.getAndPutIfAbsent(Object, Object)
When not set, default value is DFLT_LOAD_PREV_VAL . |
CacheConfiguration |
CacheConfiguration.setLongQueryWarningTimeout(long longQryWarnTimeout)
Gets timeout in milliseconds after which long query warning will be printed.
|
CacheConfiguration |
CacheConfiguration.setMaxConcurrentAsyncOperations(int maxConcurrentAsyncOps)
Sets maximum number of concurrent asynchronous operations.
|
CacheConfiguration |
CacheConfiguration.setMemoryMode(CacheMemoryMode memMode)
Sets memory mode for cache.
|
CacheConfiguration |
CacheConfiguration.setName(String name)
Sets cache name.
|
CacheConfiguration |
CacheConfiguration.setNearConfiguration(NearCacheConfiguration<K,V> nearCfg) |
CacheConfiguration |
CacheConfiguration.setNodeFilter(IgnitePredicate<ClusterNode> nodeFilter)
Sets filter which determines on what nodes the cache should be started.
|
CacheConfiguration |
CacheConfiguration.setOffHeapMaxMemory(long offHeapMaxMem)
Sets maximum amount of memory available to off-heap storage.
|
CacheConfiguration |
CacheConfiguration.setPluginConfigurations(CachePluginConfiguration... pluginCfgs)
Sets cache plugin configurations.
|
CacheConfiguration |
CacheConfiguration.setReadFromBackup(boolean readFromBackup)
Sets read from backup flag.
|
CacheConfiguration |
CacheConfiguration.setRebalanceBatchSize(int rebalanceBatchSize)
Sets rebalance batch size.
|
CacheConfiguration |
CacheConfiguration.setRebalanceDelay(long rebalanceDelay)
Sets rebalance delay (see
getRebalanceDelay() for more information). |
CacheConfiguration |
CacheConfiguration.setRebalanceMode(CacheRebalanceMode rebalanceMode)
Sets cache rebalance mode.
|
CacheConfiguration |
CacheConfiguration.setRebalanceOrder(int rebalanceOrder)
Sets cache rebalance order.
|
CacheConfiguration |
CacheConfiguration.setRebalanceThreadPoolSize(int rebalancePoolSize)
Sets size of rebalancing thread pool.
|
CacheConfiguration |
CacheConfiguration.setRebalanceThrottle(long rebalanceThrottle)
Time in milliseconds to wait between rebalance messages to avoid overloading of CPU or network.
|
CacheConfiguration |
CacheConfiguration.setRebalanceTimeout(long rebalanceTimeout)
Sets rebalance timeout (ms).
|
CacheConfiguration |
CacheConfiguration.setSqlEscapeAll(boolean sqlEscapeAll)
If
true all the SQL table and field names will be escaped with double quotes like
({@code "tableName"." |
CacheConfiguration |
CacheConfiguration.setSqlFunctionClasses(Class<?>... cls)
Sets classes with methods annotated by
QuerySqlFunction
to be used as user-defined functions from SQL queries. |
CacheConfiguration |
CacheConfiguration.setSqlOnheapRowCacheSize(int size)
Number of SQL rows which will be cached onheap to avoid deserialization on each SQL index access.
|
CacheConfiguration |
CacheConfiguration.setStartSize(int startSize)
Initial size for internal hash map.
|
CacheConfiguration |
CacheConfiguration.setSwapEnabled(boolean swapEnabled)
Flag indicating whether swap storage is enabled or not.
|
CacheConfiguration |
CacheConfiguration.setTopologyValidator(TopologyValidator topValidator)
Sets topology validator.
|
CacheConfiguration |
CacheConfiguration.setTransactionManagerLookupClassName(String tmLookupClsName)
Sets look up mechanism for available
TransactionManager implementation, if any. |
CacheConfiguration |
CacheConfiguration.setTypeMetadata(Collection<CacheTypeMetadata> typeMeta)
Sets collection of type metadata objects.
|
CacheConfiguration |
CacheConfiguration.setWriteBehindBatchSize(int writeBehindBatchSize)
Sets maximum batch size for write-behind cache.
|
CacheConfiguration |
CacheConfiguration.setWriteBehindEnabled(boolean writeBehindEnabled)
Sets flag indicating whether write-behind is enabled.
|
CacheConfiguration |
CacheConfiguration.setWriteBehindFlushFrequency(long writeBehindFlushFreq)
Sets write-behind flush frequency.
|
CacheConfiguration |
CacheConfiguration.setWriteBehindFlushSize(int writeBehindFlushSize)
Sets write-behind flush size.
|
CacheConfiguration |
CacheConfiguration.setWriteBehindFlushThreadCount(int writeBehindFlushThreadCnt)
Sets flush thread count for write-behind cache.
|
CacheConfiguration |
CacheConfiguration.setWriteSynchronizationMode(CacheWriteSynchronizationMode writeSync)
Sets write synchronization mode.
|
Modifier and Type | Method and Description |
---|---|
IgniteConfiguration |
IgniteConfiguration.setCacheConfiguration(CacheConfiguration... cacheCfg)
Sets cache configurations.
|
Modifier and Type | Method and Description |
---|---|
CacheConfiguration |
CachePluginContext.igniteCacheConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
CachePluginProvider.validateRemote(CacheConfiguration locCfg,
C locPluginCcfg,
CacheConfiguration rmtCfg,
ClusterNode rmtNode)
Checks that remote caches has configuration compatible with the local.
|
void |
CachePluginProvider.validateRemote(CacheConfiguration locCfg,
C locPluginCcfg,
CacheConfiguration rmtCfg,
ClusterNode rmtNode)
Checks that remote caches has configuration compatible with the local.
|
Follow @ApacheIgnite
Ignite Fabric : ver. 1.1.0-incubating Release Date : May 20 2015