public class DynamicCacheChangeRequest extends Object implements Serializable
| Constructor and Description |
|---|
DynamicCacheChangeRequest(String cacheName,
UUID initiatingNodeId)
Constructor creates cache stop request.
|
public boolean exchangeNeeded()
True if request should trigger partition exchange.public void cacheFutureTopologyVersion(AffinityTopologyVersion cacheFutTopVer)
cacheFutTopVer - Ready topology version when dynamic cache future should be completed.@Nullable public AffinityTopologyVersion cacheFutureTopologyVersion()
public void exchangeNeeded(boolean exchangeNeeded)
exchangeNeeded - True if request should trigger partition exchange.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 void stop(boolean stop)
stop - New stop 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 close()
public void close(boolean close)
close - New close flag.public void receivedFrom(UUID nodeId)
nodeId - ID of node provided cache configuration in discovery data.@Nullable public UUID receivedFrom()
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016