public class DynamicCacheDescriptor extends Object
| Constructor and Description |
|---|
DynamicCacheDescriptor(GridKernalContext ctx,
CacheConfiguration cacheCfg,
CacheType cacheType,
boolean template,
IgniteUuid deploymentId) |
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 Integer cacheId()
@Nullable public AffinityTopologyVersion startTopologyVersion()
public void startTopologyVersion(AffinityTopologyVersion startTopVer)
startTopVer - Start topology version.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 boolean started()
public CacheConfiguration cacheConfiguration()
public CachePluginManager pluginManager()
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.public boolean receivedOnDiscovery()
True if received in discovery data.public void receivedOnDiscovery(boolean rcvdOnDiscovery)
rcvdOnDiscovery - True if received in discovery data.public void receivedFrom(UUID nodeId)
nodeId - ID of node provided cache configuration in discovery data.@Nullable public AffinityTopologyVersion receivedFromStartVersion()
public void receivedFromStartVersion(AffinityTopologyVersion rcvdFromVer)
rcvdFromVer - Topology version when node provided cache configuration was started.@Nullable public UUID receivedFrom()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016