public class DynamicCacheChangeRequest extends Object implements Serializable
| Constructor and Description |
|---|
DynamicCacheChangeRequest(String cacheName,
UUID initiatingNodeId)
Constructor means for start requests.
|
DynamicCacheChangeRequest(String cacheName,
UUID initiatingNodeId,
boolean stop)
Constructor creates cache stop request.
|
| 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 |
failIfExists() |
void |
failIfExists(boolean failIfExists) |
UUID |
initiatingNodeId() |
NearCacheConfiguration |
nearCacheConfiguration() |
void |
nearCacheConfiguration(NearCacheConfiguration nearCacheCfg) |
boolean |
start() |
CacheConfiguration |
startCacheConfiguration() |
void |
startCacheConfiguration(CacheConfiguration startCfg) |
boolean |
stop() |
boolean |
template() |
void |
template(boolean template) |
String |
toString() |
public DynamicCacheChangeRequest(String cacheName, UUID initiatingNodeId, boolean stop)
cacheName - Cache stop name.initiatingNodeId - Initiating node ID.stop - Stop flag.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 boolean stop()
True if this is a stop request.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.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.2.0-incubating Release Date : June 16 2015