@GridToStringExclude public interface GridKernalContext extends Iterable<GridComponent>
Modifier and Type | Method and Description |
---|---|
Object |
addNodeAttribute(String key,
Object val)
Add attribute to node attributes.
|
GridAffinityProcessor |
affinity()
Gets cache data affinity processor.
|
IgniteStripedThreadPoolExecutor |
asyncCallbackPool()
Gets async callback pool.
|
IgniteAuthenticationProcessor |
authentication()
Gets authentication processor.
|
ExecutorService |
buildIndexExecutorService()
Return Thread pool for create/rebuild indexes.
|
GridCacheProcessor |
cache()
Gets caches processor.
|
IgniteCacheObjectProcessor |
cacheObjects()
Gets cache object processor.
|
GridCheckpointManager |
checkpoint()
Gets checkpoint manager.
|
boolean |
clientDisconnected() |
boolean |
clientNode() |
GridClosureProcessor |
closure()
Gets closure processor.
|
ClusterProcessor |
cluster()
Gets Cluster processor.
|
GridCollisionManager |
collision()
Gets collision manager.
|
List<GridComponent> |
components()
Gets list of all grid components in the order they were added.
|
CompressionProcessor |
compress() |
IgniteConfiguration |
config()
Gets grid configuration.
|
GridContinuousProcessor |
continuous()
Gets event continuous processor.
|
MvccProcessor |
coordinators() |
<T> T |
createComponent(Class<T> cls)
Creates optional component.
|
@Nullable Map<String,? extends ExecutorService> |
customExecutors()
Executor services that is in charge of processing user compute task.
|
<K,V> DataStreamProcessor<K,V> |
dataStream()
Gets data streamer processor.
|
DataStructuresProcessor |
dataStructures()
Gets data structures processor.
|
GridDeploymentManager |
deploy()
Gets deployment manager.
|
DiagnosticProcessor |
diagnostic()
Gets diagnostic processor.
|
GridDiscoveryManager |
discovery()
Gets discovery manager.
|
DistributedConfigurationProcessor |
distributedConfiguration()
Gets distributed configuration processor.
|
DistributedMetaStorage |
distributedMetastorage()
Gets global metastorage.
|
DurableBackgroundTasksProcessor |
durableBackgroundTasksProcessor() |
GridEncryptionManager |
encryption()
Gets encryption manager.
|
GridEventStorageManager |
event()
Gets event storage manager.
|
IgniteExceptionRegistry |
exceptionRegistry()
Gets exception registry.
|
GridFailoverManager |
failover()
Gets failover manager.
|
FailureProcessor |
failure()
Gets failure processor.
|
GridKernalGateway |
gateway()
Gets kernal gateway.
|
ExecutorService |
getAffinityExecutorService()
Get affinity executor service.
|
StripedExecutor |
getDataStreamerExecutorService()
Executor service that is in charge of processing data stream messages.
|
ExecutorService |
getExecutorService() |
@Nullable ExecutorService |
getIndexingExecutorService()
Get indexing executor service.
|
ExecutorService |
getManagementExecutorService()
Executor service that is in charge of processing internal and Visor
GridJobs . |
ExecutorService |
getPeerClassLoadingExecutorService() |
ExecutorService |
getQueryExecutorService()
Executor service that is in charge of processing query messages.
|
ExecutorService |
getRebalanceExecutorService()
Executor service that is in charge of processing rebalance messages.
|
ExecutorService |
getRestExecutorService()
Should return an instance of fully configured thread pool to be used for
processing of client messages (REST requests).
|
ExecutorService |
getSchemaExecutorService()
Executor service that is in charge of processing schema change messages.
|
ExecutorService |
getServiceExecutorService()
Executor service that is in charge of processing service proxy invocations.
|
StripedExecutor |
getStripedExecutorService()
Executor service that is in charge of processing internal system messages
in stripes (dedicated threads).
|
IgniteStripedThreadPoolExecutor |
getStripedRebalanceExecutorService()
Executor service that is in charge of processing unorderable rebalance messages.
|
ExecutorService |
getSystemExecutorService()
Executor service that is in charge of processing internal system messages.
|
IgniteEx |
grid()
Gets grid instance managed by kernal.
|
boolean |
hasNodeAttribute(String key)
Check if node has specified attribute.
|
String |
igniteInstanceName()
Gets Ignite instance name.
|
GridIndexingManager |
indexing()
Gets indexing manager.
|
GridInternalSubscriptionProcessor |
internalSubscriptionProcessor() |
boolean |
invalid()
Checks whether this node is invalid due to a critical error or not.
|
GridIoManager |
io()
Gets communication manager.
|
boolean |
isDaemon()
Checks whether this node is daemon.
|
boolean |
isStopping() |
GridJobProcessor |
job()
Gets job processor.
|
GridJobMetricsProcessor |
jobMetric()
Gets job metric processor.
|
GridLoadBalancerManager |
loadBalancing()
Gets load balancing manager.
|
UUID |
localNodeId()
Gets local node ID.
|
IgniteLogger |
log(Class<?> cls)
Gets logger for given class.
|
IgniteLogger |
log(String ctgr)
Gets logger for given category.
|
LongJVMPauseDetector |
longJvmPauseDetector()
Gets long JVM pause detector.
|
GridMarshallerMappingProcessor |
mapping()
Gets grid marshaller mapping processor.
|
MarshallerContextImpl |
marshallerContext()
Gets marshaller context.
|
GridMetricManager |
metric()
Gets metric manager.
|
Object |
nodeAttribute(String key)
Get node attribute by name.
|
Map<String,Object> |
nodeAttributes() |
PdsFoldersResolver |
pdsFolderResolver() |
GridPerformanceSuggestions |
performance() |
PlatformProcessor |
platform() |
PluginProvider |
pluginProvider(String name) |
IgnitePluginProcessor |
plugins() |
PoolProcessor |
pools()
Gets pool processor.
|
GridPortProcessor |
ports()
Gets port processor.
|
void |
printMemoryStats()
Print grid kernal memory stats (sizes of internal structures, etc.).
|
GridQueryProcessor |
query()
Gets query processor.
|
boolean |
recoveryMode() |
GridResourceProcessor |
resource()
Gets resource processor.
|
IgniteRestProcessor |
rest()
Gets REST processor.
|
IgniteScheduleProcessorAdapter |
schedule()
Gets schedule processor.
|
IgniteSecurity |
security()
Gets instance of
IgniteSecurity . |
GridSegmentationProcessor |
segmentation()
Gets segmentation processor.
|
boolean |
segmented()
Checks whether this node detected its segmentation from the rest of the grid.
|
ServiceProcessorAdapter |
service()
Gets service processor.
|
GridTaskSessionProcessor |
session()
Gets task session processor.
|
ClientListenerProcessor |
sqlListener()
Gets SQL listener processor.
|
GridClusterStateProcessor |
state()
Gets cluster state processor.
|
GridSystemViewManager |
systemView()
Gets system view manager.
|
GridTaskProcessor |
task()
Gets task processor.
|
GridTimeoutProcessor |
timeout()
Gets timeout processor.
|
Tracing |
tracing()
Gets tracing processor.
|
Thread.UncaughtExceptionHandler |
uncaughtExceptionHandler() |
String |
userVersion(ClassLoader ldr)
Gets user version for given class loader by checking
META-INF/ignite.xml file for userVersion attribute. |
ExecutorService |
utilityCachePool()
Gets utility cache pool.
|
WorkersRegistry |
workersRegistry()
Gets workers registry.
|
forEach, iterator, spliterator
List<GridComponent> components()
UUID localNodeId()
String igniteInstanceName()
IgniteLogger log(String ctgr)
ctgr
- Category.IgniteLogger log(Class<?> cls)
cls
- Class to get logger for.boolean isStopping()
True
if grid is in the process of stopping.GridKernalGateway gateway()
IgniteEx grid()
IgniteConfiguration config()
GridTaskProcessor task()
GridAffinityProcessor affinity()
GridJobProcessor job()
GridTimeoutProcessor timeout()
GridResourceProcessor resource()
GridJobMetricsProcessor jobMetric()
GridMetricManager metric()
GridSystemViewManager systemView()
GridCacheProcessor cache()
GridClusterStateProcessor state()
DistributedMetaStorage distributedMetastorage()
DistributedConfigurationProcessor distributedConfiguration()
Tracing tracing()
GridTaskSessionProcessor session()
GridClosureProcessor closure()
ServiceProcessorAdapter service()
GridPortProcessor ports()
IgniteScheduleProcessorAdapter schedule()
IgniteRestProcessor rest()
GridSegmentationProcessor segmentation()
<K,V> DataStreamProcessor<K,V> dataStream()
IgniteAuthenticationProcessor authentication()
GridContinuousProcessor continuous()
PoolProcessor pools()
GridMarshallerMappingProcessor mapping()
ExecutorService utilityCachePool()
IgniteStripedThreadPoolExecutor asyncCallbackPool()
IgniteCacheObjectProcessor cacheObjects()
GridQueryProcessor query()
ClientListenerProcessor sqlListener()
IgnitePluginProcessor plugins()
GridDeploymentManager deploy()
GridIoManager io()
GridDiscoveryManager discovery()
GridCheckpointManager checkpoint()
GridEventStorageManager event()
GridFailoverManager failover()
GridCollisionManager collision()
IgniteSecurity security()
IgniteSecurity
.GridLoadBalancerManager loadBalancing()
GridIndexingManager indexing()
GridEncryptionManager encryption()
WorkersRegistry workersRegistry()
DataStructuresProcessor dataStructures()
LongJVMPauseDetector longJvmPauseDetector()
DiagnosticProcessor diagnostic()
boolean invalid()
True
if this node is invalid, false
otherwise.boolean segmented()
True
if this node has segmented, false
otherwise.FailureProcessor failure()
void printMemoryStats()
boolean isDaemon()
True
if this node is daemon, false
otherwise.GridPerformanceSuggestions performance()
String userVersion(ClassLoader ldr)
META-INF/ignite.xml
file for userVersion
attribute. If
ignite.xml
file is not found, or user version is not specified there,
then default version (empty string) is returned.ldr
- Class loader.PluginProvider pluginProvider(String name) throws PluginNotFoundException
name
- Plugin name.PluginNotFoundException
- If plugin provider for the given name was not found.<T> T createComponent(Class<T> cls)
cls
- Component class.ExecutorService getExecutorService()
ExecutorService getServiceExecutorService()
ExecutorService getSystemExecutorService()
StripedExecutor getStripedExecutorService()
ExecutorService getManagementExecutorService()
GridJobs
.ExecutorService getPeerClassLoadingExecutorService()
StripedExecutor getDataStreamerExecutorService()
ExecutorService getRestExecutorService()
ExecutorService getAffinityExecutorService()
@Nullable @Nullable ExecutorService getIndexingExecutorService()
ExecutorService getQueryExecutorService()
@Nullable @Nullable Map<String,? extends ExecutorService> customExecutors()
ExecutorService getSchemaExecutorService()
ExecutorService getRebalanceExecutorService()
IgniteStripedThreadPoolExecutor getStripedRebalanceExecutorService()
IgniteExceptionRegistry exceptionRegistry()
Object nodeAttribute(String key)
key
- Attribute name.boolean hasNodeAttribute(String key)
key
- Attribute name.true
If node has attribute with specified name.Object addNodeAttribute(String key, Object val)
key
- Attribute name.val
- Attribute value.ClusterProcessor cluster()
MarshallerContextImpl marshallerContext()
boolean clientNode()
True
if local node is client node (has flag IgniteConfiguration.isClientMode()
set).boolean clientDisconnected()
True
if local node in disconnected state.PlatformProcessor platform()
MvccProcessor coordinators()
PdsFoldersResolver pdsFolderResolver()
GridInternalSubscriptionProcessor internalSubscriptionProcessor()
Thread.UncaughtExceptionHandler uncaughtExceptionHandler()
CompressionProcessor compress()
boolean recoveryMode()
True
if node is in recovery mode (before join to topology).DurableBackgroundTasksProcessor durableBackgroundTasksProcessor()
ExecutorService buildIndexExecutorService()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020