Package org.apache.ignite.plugin

## Interface CachePluginContext<C extends CachePluginConfiguration>

-     public interface CachePluginContext<C extends CachePluginConfiguration>

  Cache plugin context.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `Ignite` | `grid()` |
    `CacheConfiguration` | `igniteCacheConfiguration()` |
    `IgniteConfiguration` | `igniteConfiguration()` |
    `ClusterNode` | `localNode()` | Gets local grid node.
    `IgniteLogger` | `log​(Class<?> cls)` | Gets logger for given class.

- - ### Method Detail

    - #### igniteConfiguration

          IgniteConfiguration igniteConfiguration()

      Returns:
        Ignite configuration.

    - #### igniteCacheConfiguration

          CacheConfiguration igniteCacheConfiguration()

      Returns:
        Ignite cache configuration.

    - #### grid

          Ignite grid()

      Returns:
        Grid.

    - #### localNode

          ClusterNode localNode()

      Gets local grid node. Instance of local node is provided by underlying `DiscoverySpi` implementation used.
      Returns:
        Local grid node.
      See Also:
        `DiscoverySpi`

    - #### log

          IgniteLogger log​(Class<?> cls)

      Gets logger for given class.
      Parameters:
        `cls` - Class to get logger for.
      Returns:
        Logger.