public class ExchangeActions extends Object
DynamicCacheChangeBatch event.| Modifier and Type | Class and Description |
|---|---|
static class |
ExchangeActions.CacheActionData |
| Constructor and Description |
|---|
ExchangeActions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
activate() |
void |
addCacheGroupToStop(CacheGroupDescriptor grpDesc,
boolean destroy) |
void |
addCacheToStop(DynamicCacheChangeRequest req,
DynamicCacheDescriptor desc) |
boolean |
cacheGroupStarting(int grpId) |
boolean |
cacheGroupStopping(int grpId) |
List<org.apache.ignite.internal.processors.cache.ExchangeActions.CacheGroupActionData> |
cacheGroupsToStart() |
List<org.apache.ignite.internal.processors.cache.ExchangeActions.CacheGroupActionData> |
cacheGroupsToStop() |
boolean |
cacheStarted(int cacheId) |
Collection<ExchangeActions.CacheActionData> |
cacheStartRequests() |
boolean |
cacheStopped(int cacheId) |
Set<String> |
cachesToResetLostPartitions() |
boolean |
clientOnlyExchange() |
void |
completeRequestFutures(GridCacheSharedContext ctx) |
boolean |
deactivate() |
boolean |
empty() |
boolean |
hasStop() |
StateChangeRequest |
stateChangeRequest() |
void |
stateChangeRequest(StateChangeRequest stateChange) |
boolean |
systemCachesStarting() |
String |
toString() |
public boolean clientOnlyExchange()
True if server nodes should not participate in exchange.public Collection<ExchangeActions.CacheActionData> cacheStartRequests()
public void completeRequestFutures(GridCacheSharedContext ctx)
ctx - Context.public boolean systemCachesStarting()
True if starting system caches.public boolean hasStop()
True if have cache stop requests.public Set<String> cachesToResetLostPartitions()
public boolean cacheStopped(int cacheId)
cacheId - Cache ID.True if cache stop was requested.public boolean cacheStarted(int cacheId)
cacheId - Cache ID.True if cache start was requested.public void stateChangeRequest(StateChangeRequest stateChange)
stateChange - Cluster state change request.public boolean deactivate()
True if has deactivate request.public boolean activate()
True if has activate request.@Nullable public StateChangeRequest stateChangeRequest()
public void addCacheToStop(DynamicCacheChangeRequest req, DynamicCacheDescriptor desc)
req - Request.desc - Cache descriptor.public List<org.apache.ignite.internal.processors.cache.ExchangeActions.CacheGroupActionData> cacheGroupsToStart()
public boolean cacheGroupStarting(int grpId)
grpId - Group ID.True if given cache group starting.public void addCacheGroupToStop(CacheGroupDescriptor grpDesc, boolean destroy)
grpDesc - Group descriptor.destroy - Destroy flag.public List<org.apache.ignite.internal.processors.cache.ExchangeActions.CacheGroupActionData> cacheGroupsToStop()
public boolean cacheGroupStopping(int grpId)
grpId - Group ID.True if given cache group stopping.public boolean empty()
True if there are no cache change actions.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.1.0 Release Date : July 20 2017