public class DynamicCacheDescriptor extends Object
| Constructor and Description |
|---|
DynamicCacheDescriptor(GridKernalContext ctx,
CacheConfiguration cacheCfg,
CacheType cacheType,
boolean template,
IgniteUuid deploymentId) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRemoteConfiguration(UUID nodeId,
CacheConfiguration cfg) |
CacheConfiguration |
cacheConfiguration() |
CacheType |
cacheType() |
boolean |
cancelled() |
void |
clearRemoteConfigurations() |
IgniteUuid |
deploymentId() |
void |
deploymentId(IgniteUuid deploymentId) |
boolean |
locallyConfigured() |
void |
locallyConfigured(boolean locCfg) |
void |
onCancelled()
Sets cancelled flag.
|
boolean |
onStart() |
CachePluginManager |
pluginManager() |
CacheConfiguration |
remoteConfiguration(UUID nodeId) |
boolean |
staticallyConfigured() |
void |
staticallyConfigured(boolean staticCfg) |
boolean |
template() |
String |
toString() |
boolean |
updatesAllowed() |
void |
updatesAllowed(boolean updatesAllowed) |
public DynamicCacheDescriptor(GridKernalContext ctx, CacheConfiguration cacheCfg, CacheType cacheType, boolean template, IgniteUuid deploymentId)
ctx - Context.cacheCfg - Cache configuration.cacheType - Cache type.template - True if this is template configuration.deploymentId - Deployment ID.public boolean template()
True if this is template configuration.public CacheType cacheType()
public IgniteUuid deploymentId()
public void deploymentId(IgniteUuid deploymentId)
deploymentId - Deployment ID.public boolean locallyConfigured()
public void locallyConfigured(boolean locCfg)
locCfg - Locally configured flag.public boolean staticallyConfigured()
True if statically configured.public void staticallyConfigured(boolean staticCfg)
staticCfg - True if statically configured.public boolean onStart()
True if started flag was flipped by this call.public CacheConfiguration cacheConfiguration()
public CachePluginManager pluginManager()
public void onCancelled()
public boolean cancelled()
public CacheConfiguration remoteConfiguration(UUID nodeId)
nodeId - Remote node ID.public void addRemoteConfiguration(UUID nodeId, CacheConfiguration cfg)
nodeId - Remote node ID.cfg - Remote node configuration.public void clearRemoteConfigurations()
public boolean updatesAllowed()
public void updatesAllowed(boolean updatesAllowed)
updatesAllowed - Updates allowed flag.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.2.0-incubating Release Date : June 16 2015