public class GridCachePluginContext<C extends CachePluginConfiguration> extends Object implements CachePluginContext<C>
Constructor and Description |
---|
GridCachePluginContext(GridKernalContext ctx,
CacheConfiguration igniteCacheCfg) |
Modifier and Type | Method and Description |
---|---|
Ignite |
grid() |
CacheConfiguration |
igniteCacheConfiguration() |
IgniteConfiguration |
igniteConfiguration() |
ClusterNode |
localNode()
Gets local grid node.
|
IgniteLogger |
log(Class<?> cls)
Gets logger for given class.
|
public GridCachePluginContext(GridKernalContext ctx, CacheConfiguration igniteCacheCfg)
ctx
- Kernal context.igniteCacheCfg
- Ignite config.public IgniteConfiguration igniteConfiguration()
igniteConfiguration
in interface CachePluginContext<C extends CachePluginConfiguration>
public CacheConfiguration igniteCacheConfiguration()
igniteCacheConfiguration
in interface CachePluginContext<C extends CachePluginConfiguration>
public Ignite grid()
grid
in interface CachePluginContext<C extends CachePluginConfiguration>
public ClusterNode localNode()
DiscoverySpi
implementation used.localNode
in interface CachePluginContext<C extends CachePluginConfiguration>
DiscoverySpi
public IgniteLogger log(Class<?> cls)
log
in interface CachePluginContext<C extends CachePluginConfiguration>
cls
- Class to get logger for.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020