Class PoolProcessor

    • Constructor Detail

      • PoolProcessor

        public PoolProcessor​(GridKernalContext ctx)
        Constructor.
        Parameters:
        ctx - Kernal context.
    • Method Detail

      • registerMetrics

        public void registerMetrics()
        Registers thread pools metrics and system views.
      • customExecutor

        @Nullable
        public @Nullable Executor customExecutor​(String name)
        Gets executor service for custom policy by executor name.
        Parameters:
        name - Executor name.
        Returns:
        Executor service.
      • utilityCachePool

        public ExecutorService utilityCachePool()
        Gets utility cache pool.
        Returns:
        Utility cache pool.
      • getExecutorService

        public ExecutorService getExecutorService()
        Returns:
        Thread pool implementation to be used in grid to process job execution requests and user messages sent to the node.
      • getServiceExecutorService

        public ExecutorService getServiceExecutorService()
        Executor service that is in charge of processing service proxy invocations.
        Returns:
        Thread pool implementation to be used in grid for service proxy invocations.
      • getSystemExecutorService

        public ExecutorService getSystemExecutorService()
        Executor service that is in charge of processing internal system messages.
        Returns:
        Thread pool implementation to be used in grid for internal system messages.
      • getStripedExecutorService

        public StripedExecutor getStripedExecutorService()
        Executor service that is in charge of processing internal system messages in stripes (dedicated threads).
        Returns:
        Thread pool implementation to be used in grid for internal system messages.
      • getManagementExecutorService

        public ExecutorService getManagementExecutorService()
        Executor service that is in charge of processing internal and Visor GridJobs.
        Returns:
        Thread pool implementation to be used in grid for internal and Visor jobs processing.
      • getPeerClassLoadingExecutorService

        public ExecutorService getPeerClassLoadingExecutorService()
        Returns:
        Thread pool implementation to be used for peer class loading requests handling.
      • getDataStreamerExecutorService

        public StripedExecutor getDataStreamerExecutorService()
        Executor service that is in charge of processing data stream messages.
        Returns:
        Thread pool implementation to be used for data stream messages.
      • getRestExecutorService

        public ExecutorService getRestExecutorService()
        Should return an instance of fully configured thread pool to be used for processing of client messages (REST requests).
        Returns:
        Thread pool implementation to be used for processing of client messages.
      • getAffinityExecutorService

        public ExecutorService getAffinityExecutorService()
        Get affinity executor service.
        Returns:
        Affinity executor service.
      • getIndexingExecutorService

        @Nullable
        public @Nullable ExecutorService getIndexingExecutorService()
        Get indexing executor service.
        Returns:
        Indexing executor service.
      • getQueryExecutorService

        public ExecutorService getQueryExecutorService()
        Executor service that is in charge of processing query messages.
        Returns:
        Thread pool implementation to be used in grid for query messages.
      • customExecutors

        @Nullable
        public @Nullable Map<String,​? extends ExecutorService> customExecutors()
        Executor services that is in charge of processing user compute task.
        Returns:
        Map of custom thread pool executors.
      • getSchemaExecutorService

        public ExecutorService getSchemaExecutorService()
        Executor service that is in charge of processing schema change messages.
        Returns:
        Executor service that is in charge of processing schema change messages.
      • getRebalanceExecutorService

        public ExecutorService getRebalanceExecutorService()
        Executor service that is in charge of processing rebalance messages.
        Returns:
        Executor service that is in charge of processing rebalance messages.
      • getSnapshotExecutorService

        public ExecutorService getSnapshotExecutorService()
        Returns:
        Executor service that is used for processing snapshot tasks (taking, sending, restoring).
      • getThinClientExecutorService

        public ExecutorService getThinClientExecutorService()
        Executor service for thin clients.
        Returns:
        Executor service for thin clients.
      • getStripedRebalanceExecutorService

        public IgniteStripedThreadPoolExecutor getStripedRebalanceExecutorService()
        Executor service that is in charge of processing unorderable rebalance messages.
        Returns:
        Executor service that is in charge of processing unorderable rebalance messages.
      • buildIndexExecutorService

        public ExecutorService buildIndexExecutorService()
        Return Thread pool for create/rebuild indexes.
        Returns:
        Thread pool for create/rebuild indexes.
      • getReencryptionExecutorService

        public ExecutorService getReencryptionExecutorService()
        Returns:
        Executor to perform a data pages scanning during cache group re-encryption.