public class DynamicCacheDescriptor extends Object
| Constructor and Description |
|---|
DynamicCacheDescriptor(GridKernalContext ctx,
CacheConfiguration cacheCfg,
CacheType cacheType,
CacheGroupDescriptor grpDesc,
boolean template,
UUID rcvdFrom,
boolean staticCfg,
boolean sql,
IgniteUuid deploymentId,
QuerySchema schema) |
| Modifier and Type | Method and Description |
|---|---|
CacheConfiguration |
cacheConfiguration() |
Integer |
cacheId() |
String |
cacheName() |
CacheObjectContext |
cacheObjectContext(IgniteCacheObjectProcessor proc)
Creates and caches cache object context if needed.
|
CacheType |
cacheType() |
IgniteUuid |
deploymentId() |
CacheGroupDescriptor |
groupDescriptor() |
int |
groupId() |
UUID |
receivedFrom() |
QuerySchema |
schema() |
void |
schema(QuerySchema schema)
Set schema
|
void |
schemaChangeFinish(SchemaFinishDiscoveryMessage msg)
Try applying finish message.
|
boolean |
sql() |
AffinityTopologyVersion |
startTopologyVersion() |
void |
startTopologyVersion(AffinityTopologyVersion startTopVer) |
boolean |
staticallyConfigured() |
boolean |
template() |
String |
toString() |
boolean |
updatesAllowed() |
void |
updatesAllowed(boolean updatesAllowed) |
public DynamicCacheDescriptor(GridKernalContext ctx, CacheConfiguration cacheCfg, CacheType cacheType, CacheGroupDescriptor grpDesc, boolean template, UUID rcvdFrom, boolean staticCfg, boolean sql, IgniteUuid deploymentId, QuerySchema schema)
ctx - Context.cacheCfg - Cache configuration.cacheType - Cache type.grpDesc - Group descriptor.template - True if this is template configuration.rcvdFrom - ID of node provided cache configurationstaticCfg - True if cache statically configured.sql - SQL flag - whether the cache is created by an SQL command such as CREATE TABLE.deploymentId - Deployment ID.schema - Query schema.public int groupId()
public CacheGroupDescriptor groupDescriptor()
public Integer cacheId()
public boolean template()
True if this is template configuration.public CacheType cacheType()
public IgniteUuid deploymentId()
public boolean staticallyConfigured()
True if statically configured.public boolean sql()
public String cacheName()
public CacheConfiguration cacheConfiguration()
public CacheObjectContext cacheObjectContext(IgniteCacheObjectProcessor proc) throws IgniteCheckedException
proc - Object processor.IgniteCheckedException - If failed.public boolean updatesAllowed()
public void updatesAllowed(boolean updatesAllowed)
updatesAllowed - Updates allowed flag.@Nullable public UUID receivedFrom()
@Nullable public AffinityTopologyVersion startTopologyVersion()
public void startTopologyVersion(AffinityTopologyVersion startTopVer)
startTopVer - Start topology version.public QuerySchema schema()
public void schema(QuerySchema schema)
schema - Schema.public void schemaChangeFinish(SchemaFinishDiscoveryMessage msg)
msg - Message.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.1.0 Release Date : July 20 2017