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

- Packages that use IgniteInClosure
  Package | Description
  --- | ---
  org.apache.ignite.configuration | Contains configuration-related classes.
  org.apache.ignite.lang | Contains general language constructs and functional APIs for distributed computations.
  org.apache.ignite.spi.communication.tcp | Contains default TCP/IP-based implementation for communication SPI.
  org.apache.ignite.spi.discovery.tcp | Contains default TCP/IP implementation for discovery SPI.
  org.apache.ignite.startup | Contains Ignite runtime startup classes.

- - ### Uses of IgniteInClosure in org.apache.ignite.configuration

    Methods in org.apache.ignite.configuration that return IgniteInClosure
    Modifier and Type | Method | Description
    --- | --- | ---
    `IgniteInClosure<IgniteConfiguration>` | IgniteConfiguration.`getWarmupClosure()` | Gets grid warmup closure.

    Methods in org.apache.ignite.configuration with parameters of type IgniteInClosure
    Modifier and Type | Method | Description
    --- | --- | ---
    `IgniteConfiguration` | IgniteConfiguration.`setWarmupClosure​(IgniteInClosure<IgniteConfiguration> warmupClos)` | Sets warmup closure to execute before grid startup.

  - ### Uses of IgniteInClosure in org.apache.ignite.lang

    Methods in org.apache.ignite.lang with parameters of type IgniteInClosure
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | IgniteFuture.`listen​(IgniteInClosure<? super IgniteFuture<V>> lsnr)` | Registers a callback to be invoked when the future completes.
    `void` | IgniteFuture.`listenAsync​(IgniteInClosure<? super IgniteFuture<V>> lsnr, Executor exec)` | Registers a callback to be invoked with the specified executor when the future completes.

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

    Methods in org.apache.ignite.spi.communication.tcp with parameters of type IgniteInClosure
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | TcpCommunicationSpi.`sendMessage​(ClusterNode node, Message msg, IgniteInClosure<IgniteException> ackC)` | Sends given message to destination node.

  - ### Uses of IgniteInClosure in org.apache.ignite.spi.discovery.tcp

    Fields in org.apache.ignite.spi.discovery.tcp with type parameters of type IgniteInClosure
    Modifier and Type | Field | Description
    --- | --- | ---
    `protected CopyOnWriteArrayList<IgniteInClosure<Socket>>` | TcpDiscoverySpi.`incomeConnLsnrs` |
    `protected CopyOnWriteArrayList<IgniteInClosure<org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage>>` | TcpDiscoverySpi.`sndMsgLsnrs` |

    Methods in org.apache.ignite.spi.discovery.tcp with parameters of type IgniteInClosure
    Modifier and Type | Method | Description
    --- | --- | ---
    `void` | TcpDiscoverySpi.`addIncomeConnectionListener​(IgniteInClosure<Socket> lsnr)` | FOR TEST ONLY!!!
    `void` | TcpDiscoverySpi.`addSendMessageListener​(IgniteInClosure<org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage> lsnr)` | FOR TEST ONLY!!!
    `void` | TcpDiscoverySpi.`removeIncomeConnectionListener​(IgniteInClosure<Socket> lsnr)` | FOR TEST ONLY!!!
    `void` | TcpDiscoverySpi.`removeSendMessageListener​(IgniteInClosure<org.apache.ignite.spi.discovery.tcp.messages.TcpDiscoveryAbstractMessage> lsnr)` | FOR TEST ONLY!!!

  - ### Uses of IgniteInClosure in org.apache.ignite.startup

    Classes in org.apache.ignite.startup that implement IgniteInClosure
    Modifier and Type | Class | Description
    --- | --- | ---
    `class` | `BasicWarmupClosure` | Basic warm-up closure which warm-ups cache operations.