public class GridCachePluginContext<C extends CachePluginConfiguration> extends Object implements CachePluginContext<C>
| Constructor and Description |
|---|
GridCachePluginContext(GridKernalContext ctx,
CacheConfiguration igniteCacheCfg,
CachePluginConfiguration cachePluginCfg) |
| Modifier and Type | Method and Description |
|---|---|
C |
cacheConfiguration() |
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, CachePluginConfiguration cachePluginCfg)
ctx - Kernal context.cachePluginCfg - Cache plugin config.igniteCacheCfg - Ignite config.public IgniteConfiguration igniteConfiguration()
igniteConfiguration in interface CachePluginContext<C extends CachePluginConfiguration>public C cacheConfiguration()
cacheConfiguration 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. 1.1.0-incubating Release Date : May 20 2015