## Uses of Interface
org.apache.ignite.lang.IgniteRunnable

- Packages that use IgniteRunnable
  Package | Description
  --- | ---
  org.apache.ignite | Contains entry-point Ignite & HPC APIs.
  org.apache.ignite.spi.communication | Contains APIs for grid communication SPI.
  org.apache.ignite.spi.communication.tcp | Contains default TCP/IP-based implementation for communication SPI.

- - ### Uses of IgniteRunnable in org.apache.ignite

    Methods in org.apache.ignite with parameters of type IgniteRunnable
    Modifier and Type | Method and Description
    --- | ---
    `void` | IgniteCompute.`affinityRun(@NotNull Collection<String> cacheNames, int partId, IgniteRunnable job)` Executes given job on the node where partition is located (the partition is primary on the node) It's guaranteed that the data of all the partitions of all participating caches, the affinity key belongs to, will present on the destination node throughout the job execution.
    `void` | IgniteCompute.`affinityRun(@NotNull Collection<String> cacheNames, Object affKey, IgniteRunnable job)` Executes given job on the node where data for provided affinity key is located (a.k.a. affinity co-location).
    `void` | IgniteSet.`affinityRun(IgniteRunnable job)` Executes given job on collocated set on the node where the set is located (a.k.a. affinity co-location).
    `void` | IgniteQueue.`affinityRun(IgniteRunnable job)` Executes given job on collocated queue on the node where the queue is located (a.k.a. affinity co-location).
    `void` | IgniteCompute.`affinityRun(String cacheName, Object affKey, IgniteRunnable job)` Executes given job on the node where data for provided affinity key is located (a.k.a. affinity co-location).
    `IgniteFuture<Void>` | IgniteCompute.`affinityRunAsync(@NotNull Collection<String> cacheNames, int partId, IgniteRunnable job)` Executes given job asynchronously on the node where partition is located (the partition is primary on the node) The data of the partition will not be migrated from the target node while the job is executed.
    `IgniteFuture<Void>` | IgniteCompute.`affinityRunAsync(@NotNull Collection<String> cacheNames, Object affKey, IgniteRunnable job)` Executes given job asynchronously on the node where data for provided affinity key is located (a.k.a. affinity co-location).
    `IgniteFuture<Void>` | IgniteCompute.`affinityRunAsync(String cacheName, Object affKey, IgniteRunnable job)` Executes given job asynchronously on the node where data for provided affinity key is located (a.k.a. affinity co-location).
    `void` | IgniteCompute.`broadcast(IgniteRunnable job)` Broadcasts given job to all nodes in the cluster group.
    `IgniteFuture<Void>` | IgniteCompute.`broadcastAsync(IgniteRunnable job)` Broadcasts given job asynchronously to all nodes in the cluster group.
    `void` | IgniteCompute.`run(IgniteRunnable job)` Executes provided job on a node within the underlying cluster group.
    `IgniteFuture<Void>` | IgniteCompute.`runAsync(IgniteRunnable job)` Executes provided job asynchronously on a node within the underlying cluster group.

    Method parameters in org.apache.ignite with type arguments of type IgniteRunnable
    Modifier and Type | Method and Description
    --- | ---
    `void` | IgniteCompute.`run(Collection<? extends IgniteRunnable> jobs)` Executes collection of jobs on grid nodes within the underlying cluster group.
    `IgniteFuture<Void>` | IgniteCompute.`runAsync(Collection<? extends IgniteRunnable> jobs)` Executes collection of jobs asynchronously on grid nodes within the underlying cluster group.

  - ### Uses of IgniteRunnable in org.apache.ignite.spi.communication

    Methods in org.apache.ignite.spi.communication with parameters of type IgniteRunnable
    Modifier and Type | Method and Description
    --- | ---
    `void` | CommunicationListener.`onMessage(UUID nodeId, T msg, IgniteRunnable msgC)` NOTE: `CommunicationSpi` should ignore very first 4 bytes received from sender node and pass the rest of the received message to the listener.

  - ### Uses of IgniteRunnable in org.apache.ignite.spi.communication.tcp

    Methods in org.apache.ignite.spi.communication.tcp with parameters of type IgniteRunnable
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | TcpCommunicationSpi.`notifyListener(UUID sndId, Message msg, IgniteRunnable msgC)`

2022 Copyright © Apache Software Foundation
| Follow @ApacheIgnite
Ignite Database and Caching Platform | : ver. 2.12.0
Release Date | : January 10 2022