public class DynamicCacheChangeRequest extends Object implements Serializable
| Constructor and Description |
|---|
DynamicCacheChangeRequest(UUID reqId,
String cacheName,
UUID initiatingNodeId) |
| Modifier and Type | Method and Description |
|---|---|
CacheConfigurationEnrichment |
cacheConfigurationEnrichment() |
void |
cacheConfigurationEnrichment(CacheConfigurationEnrichment cacheCfgEnrichment) |
String |
cacheName() |
void |
cacheName(String cacheName) |
CacheType |
cacheType() |
void |
cacheType(CacheType cacheType) |
boolean |
clientStartOnly() |
void |
clientStartOnly(boolean clientStartOnly) |
IgniteUuid |
deploymentId() |
void |
deploymentId(IgniteUuid deploymentId) |
boolean |
destroy() |
void |
destroy(boolean destroy)
Sets cache data destroy flag.
|
boolean |
disabledAfterStart() |
void |
disabledAfterStart(boolean disabledAfterStart) |
@Nullable byte[] |
encryptionKey() |
void |
encryptionKey(@Nullable byte[] encKey) |
@Nullable Integer |
encryptionKeyId() |
void |
encryptionKeyId(@Nullable Integer encKeyId)
Sets encryption key id.
|
boolean |
failIfExists() |
void |
failIfExists(boolean failIfExists) |
boolean |
finalizePartitionCounters()
Finalize partition update counters flag.
|
UUID |
initiatingNodeId() |
boolean |
locallyConfigured() |
void |
locallyConfigured(boolean locallyConfigured) |
void |
markFinalizePartitionCounters()
Set finalize partition update counters flag.
|
void |
markResetLostPartitions()
Set resetLostPartitions flag.
|
@Nullable byte[] |
masterKeyDigest() |
void |
masterKeyDigest(@Nullable byte[] masterKeyDigest) |
NearCacheConfiguration |
nearCacheConfiguration() |
void |
nearCacheConfiguration(NearCacheConfiguration nearCacheCfg) |
@Nullable UUID |
receivedFrom() |
void |
receivedFrom(UUID nodeId) |
UUID |
requestId() |
boolean |
resetLostPartitions() |
boolean |
restart() |
void |
restart(boolean restart) |
IgniteUuid |
restartId() |
void |
restartId(IgniteUuid restartId) |
QuerySchema |
schema() |
void |
schema(QuerySchema schema) |
boolean |
sql() |
void |
sql(boolean sql)
Sets if cache is created using create table.
|
boolean |
start() |
CacheConfiguration |
startCacheConfiguration() |
void |
startCacheConfiguration(CacheConfiguration startCfg) |
boolean |
stop() |
void |
stop(boolean stop) |
static DynamicCacheChangeRequest |
stopRequest(GridKernalContext ctx,
String cacheName,
boolean sql,
boolean destroy) |
boolean |
template() |
void |
template(boolean template) |
String |
toString() |
public static DynamicCacheChangeRequest stopRequest(GridKernalContext ctx, String cacheName, boolean sql, boolean destroy)
ctx - Context.cacheName - Cache name.sql - true if the cache must be stopped only if it was created by SQL command CREATE TABLE.destroy - Cache data destroy flag. Setting to true will cause removing all cache data.public UUID requestId()
public void template(boolean template)
template - True if this is request for adding template configuration.public boolean template()
True if this is template configuration.public IgniteUuid deploymentId()
public void deploymentId(IgniteUuid deploymentId)
deploymentId - Deployment ID.public boolean start()
True if this is a start request.public void markResetLostPartitions()
public boolean resetLostPartitions()
public boolean stop()
True if this is a stop request.public boolean destroy()
true will remove all cache data.public void destroy(boolean destroy)
true will cause removing all cache data.destroy - Destroy flag.public void stop(boolean stop)
stop - New stop flag.public boolean restart()
True if this is a restart request.public void restart(boolean restart)
restart - New restart flag.public void markFinalizePartitionCounters()
public boolean finalizePartitionCounters()
public IgniteUuid restartId()
public void restartId(IgniteUuid restartId)
restartId - Id of cache restart requester.public String cacheName()
public void cacheName(String cacheName)
cacheName - Cache name.public UUID initiatingNodeId()
public NearCacheConfiguration nearCacheConfiguration()
public void nearCacheConfiguration(NearCacheConfiguration nearCacheCfg)
nearCacheCfg - Near cache configuration.public CacheConfiguration startCacheConfiguration()
public void startCacheConfiguration(CacheConfiguration startCfg)
startCfg - Cache configuration.public void cacheType(CacheType cacheType)
cacheType - Cache type.public CacheType cacheType()
public boolean clientStartOnly()
public void clientStartOnly(boolean clientStartOnly)
clientStartOnly - Client start only.public boolean failIfExists()
public void failIfExists(boolean failIfExists)
failIfExists - Fail if exists flag.public boolean sql()
public void sql(boolean sql)
sql - New SQL flag.public void receivedFrom(UUID nodeId)
nodeId - ID of node provided cache configuration in discovery data.@Nullable public @Nullable UUID receivedFrom()
public QuerySchema schema()
public void schema(QuerySchema schema)
schema - Dynamic schema.public boolean locallyConfigured()
public void locallyConfigured(boolean locallyConfigured)
locallyConfigured - Locally configured flag.public boolean disabledAfterStart()
public void disabledAfterStart(boolean disabledAfterStart)
disabledAfterStart - state of cache after startpublic void encryptionKey(@Nullable
@Nullable byte[] encKey)
encKey - Encryption key.@Nullable public @Nullable byte[] encryptionKey()
public void encryptionKeyId(@Nullable
@Nullable Integer encKeyId)
encKeyId - Encryption key id.@Nullable public @Nullable Integer encryptionKeyId()
public void masterKeyDigest(@Nullable
@Nullable byte[] masterKeyDigest)
masterKeyDigest - Master key digest.@Nullable public @Nullable byte[] masterKeyDigest()
public CacheConfigurationEnrichment cacheConfigurationEnrichment()
public void cacheConfigurationEnrichment(CacheConfigurationEnrichment cacheCfgEnrichment)
cacheCfgEnrichment - Cache config enrichment.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023