public class DynamicCacheChangeRequest extends Object implements Serializable
| Constructor and Description |
|---|
DynamicCacheChangeRequest(UUID reqId,
String cacheName,
UUID initiatingNodeId) |
| Modifier and Type | Method and Description |
|---|---|
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) |
boolean |
failIfExists() |
void |
failIfExists(boolean failIfExists) |
UUID |
initiatingNodeId() |
boolean |
locallyConfigured() |
void |
locallyConfigured(boolean locallyConfigured) |
void |
markResetLostPartitions()
Set resetLostPartitions flag.
|
NearCacheConfiguration |
nearCacheConfiguration() |
void |
nearCacheConfiguration(NearCacheConfiguration nearCacheCfg) |
UUID |
receivedFrom() |
void |
receivedFrom(UUID nodeId) |
UUID |
requestId() |
boolean |
resetLostPartitions() |
boolean |
restart() |
void |
restart(boolean restart) |
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 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 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 start
Follow @ApacheIgnite
Ignite Fabric : ver. 2.6.0 Release Date : July 10 2018