public interface GridEx extends Grid, GridProjectionEx
| Modifier and Type | Method and Description |
|---|---|
boolean |
allEventsUserRecordable(int[] types)
Checks whether all provided events are user-recordable.
|
Collection<GridCache<?,?>> |
cachesx(GridPredicate<? super GridCache<?,?>>... p)
Gets configured cache instance that satisfy all provided predicates including non-public caches.
|
<K,V> GridCache<K,V> |
cachex()
Gets default cache instance if one is configured or null otherwise returning even non-public caches.
|
<K,V> GridCache<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.
|
Collection<String> |
compatibleVersions()
Gets list of compatible versions.
|
ExecutorService |
drPool()
Get DR pool.
|
boolean |
eventUserRecordable(int type)
Checks if the event type is user-recordable.
|
boolean |
isJmxRemoteEnabled()
Whether or not remote JMX management is enabled for this node.
|
boolean |
isRestartEnabled()
Whether or not node restart is enabled.
|
boolean |
isSmtpEnabled()
Whether or not SMTP is configured.
|
long |
licenseGracePeriodLeft() |
GridFuture<Boolean> |
sendAdminEmailAsync(String subj,
String body,
boolean html)
Schedule sending of given email to all configured admin emails.
|
cache, caches, close, configuration, dataLoader, dr, forLocal, ggfs, ggfss, localNode, log, mapKeysToNodes, mapKeyToNode, name, nodeLocalMap, pingNode, product, resetMetrics, restartNodes, restartNodes, scheduler, security, startNodes, startNodes, stopNodes, stopNodes, streamer, streamers, topology, topologyVersionforSubjectIdcompute, events, forAttribute, forCache, forDaemons, forHost, forNode, forNodeId, forNodeIds, forNodes, forOthers, forOthers, forPredicate, forRandom, forRemotes, forStreamer, grid, message, metrics, node, node, nodes, predicate@Nullable <K,V> GridCache<K,V> cachex(@Nullable String name)
K - Key type.V - Value type.name - Cache name.@Nullable <K,V> GridCache<K,V> cachex()
GridCacheProjection.name() method on default instance returns null.K - Key type.V - Value type.Collection<GridCache<?,?>> cachesx(@Nullable GridPredicate<? super GridCache<?,?>>... p)
p - Predicates. If none provided - all configured caches will be returned.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 GridGain events.
types - Event types.IllegalArgumentException - If types contains user event type.Collection<String> compatibleVersions()
long licenseGracePeriodLeft()
-1 otherwise.boolean isJmxRemoteEnabled()
True if remote JMX management is enabled - false otherwise.boolean isRestartEnabled()
True if restart mode is enabled, false otherwise.boolean isSmtpEnabled()
True if SMTP is configured - false otherwise.GridFuture<Boolean> sendAdminEmailAsync(String subj, String body, boolean html)
@Nullable ExecutorService drPool()
Copyright © 2014. All rights reserved.