public interface IgniteEx extends Ignite
| Modifier and Type | Method and Description |
|---|---|
boolean |
allEventsUserRecordable(int[] types)
Checks whether all provided events are user-recordable.
|
Collection<IgniteInternalCache<?,?>> |
cachesx(IgnitePredicate<? super IgniteInternalCache<?,?>>... p)
Gets configured cache instance that satisfy all provided predicates including non-public caches.
|
<K,V> IgniteInternalCache<K,V> |
cachex(String name)
Gets the cache instance for the given name if one is configured or
null otherwise returning even non-public caches.
|
IgniteClusterEx |
cluster()
Gets an instance of
IgniteCluster interface. |
GridKernalContext |
context()
Internal context.
|
boolean |
destroyCache0(String cacheName,
boolean sql)
Stops dynamically started cache.
|
boolean |
eventUserRecordable(int type)
Checks if the event type is user-recordable.
|
<K,V> IgniteBiTuple<IgniteCache<K,V>,Boolean> |
getOrCreateCache0(CacheConfiguration<K,V> cacheCfg,
boolean sql)
Gets existing cache with the given name or creates new one with the given configuration.
|
Hadoop |
hadoop()
Get Hadoop facade.
|
IgniteFileSystem |
igfsx(String name)
Get IGFS instance returning null if it doesn't exist.
|
boolean |
isJmxRemoteEnabled()
Whether or not remote JMX management is enabled for this node.
|
boolean |
isRebalanceEnabled()
Get rebalance enabled flag.
|
boolean |
isRestartEnabled()
Whether or not node restart is enabled.
|
String |
latestVersion()
Get latest version in string form.
|
ClusterNode |
localNode()
Gets local grid node.
|
void |
rebalanceEnabled(boolean rebalanceEnabled)
Set rebalance enable flag on node.
|
<K extends GridCacheUtilityKey,V> |
utilityCache()
Gets utility cache.
|
active, active, addCacheConfiguration, affinity, atomicLong, atomicLong, atomicReference, atomicReference, atomicSequence, atomicSequence, atomicStamped, atomicStamped, binary, cache, cacheNames, close, compute, compute, configuration, countDownLatch, createCache, createCache, createCache, createCaches, createNearCache, dataRegionMetrics, dataRegionMetrics, dataStorageMetrics, dataStreamer, destroyCache, destroyCaches, events, events, executorService, executorService, fileSystem, fileSystems, getOrCreateCache, getOrCreateCache, getOrCreateCache, getOrCreateCaches, getOrCreateNearCache, log, memoryMetrics, memoryMetrics, message, message, name, persistentStoreMetrics, plugin, queue, reentrantLock, resetLostPartitions, scheduler, semaphore, services, services, set, transactions, version<K extends GridCacheUtilityKey,V> IgniteInternalCache<K,V> utilityCache()
@Nullable <K,V> IgniteInternalCache<K,V> cachex(String name)
K - Key type.V - Value type.name - Cache name.Collection<IgniteInternalCache<?,?>> cachesx(@Nullable IgnitePredicate<? super IgniteInternalCache<?,?>>... p)
p - Predicates. If none provided - all configured caches will be returned.<K,V> IgniteBiTuple<IgniteCache<K,V>,Boolean> getOrCreateCache0(CacheConfiguration<K,V> cacheCfg, boolean sql) throws javax.cache.CacheException
If a cache with the same name already exists, this method will not check that the given configuration matches the configuration of existing cache and will return an instance of the existing cache.
cacheCfg - Cache configuration to use.sql - true if this call is triggered by SQL command CREATE TABLE, false otherwise.true if cache was newly crated, false otherwise]javax.cache.CacheException - If error occurs.boolean destroyCache0(String cacheName, boolean sql) throws javax.cache.CacheException
cacheName - Cache name to stop.sql - true if only cache created with SQL command CREATE TABLE should be affected,
false otherwise.true if cache has been stopped as the result of this call, false otherwise.javax.cache.CacheException - If error occurs.boolean eventUserRecordable(int type)
type - Event type to check.true if passed event should be recorded, false - otherwise.boolean allEventsUserRecordable(int[] types)
Note that this method supports only predefined Ignite events.
types - Event types.IllegalArgumentException - If types contains user event type.boolean isJmxRemoteEnabled()
True if remote JMX management is enabled - false otherwise.boolean isRestartEnabled()
True if restart mode is enabled, false otherwise.@Nullable IgniteFileSystem igfsx(String name)
name - IGFS name.Hadoop hadoop()
IgniteClusterEx cluster()
IgniteCluster interface.cluster in interface IgniteIgniteCluster interface.@Nullable String latestVersion()
ClusterNode localNode()
GridKernalContext context()
boolean isRebalanceEnabled()
True if rebalance enabled on node, False otherwise.void rebalanceEnabled(boolean rebalanceEnabled)
rebalanceEnabled - rebalance enabled flag.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.0 Release Date : May 23 2018