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>DiscoverySpipublic IgniteLogger log(Class<?> cls)
log in interface CachePluginContext<C extends CachePluginConfiguration>cls - Class to get logger for.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018