public class DynamicCacheDescriptor extends Object
| Constructor and Description |
|---|
DynamicCacheDescriptor(GridKernalContext ctx,
CacheConfiguration cacheCfg,
CacheType cacheType,
boolean template,
IgniteUuid deploymentId,
QuerySchema schema) |
public DynamicCacheDescriptor(GridKernalContext ctx, CacheConfiguration cacheCfg, CacheType cacheType, boolean template, IgniteUuid deploymentId, QuerySchema schema)
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 CacheObjectContext cacheObjectContext(IgniteCacheObjectProcessor proc) throws IgniteCheckedException
proc - Object processor.IgniteCheckedExceptionpublic 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()
public void clientCacheStartVersion(AffinityTopologyVersion clientCacheStartVer)
clientCacheStartVer - Version when client cache on local node was started.public QuerySchema schema()
public void schema(QuerySchema schema)
schema - Schema.public void schemaChangeFinish(SchemaFinishDiscoveryMessage msg)
msg - Message.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017