public class CacheGroupDescriptor extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
addWalChangeRequest(WalStateProposeMessage msg)
Add pending WAL change request.
|
CacheConfigurationEnrichment |
cacheConfigurationEnrichment() |
String |
cacheOrGroupName() |
Map<String,Integer> |
caches() |
CacheConfiguration<?,?> |
config() |
void |
config(CacheConfiguration cacheCfg) |
void |
configurationEnriched(boolean cacheCfgEnriched) |
IgniteUuid |
deploymentId() |
boolean |
equals(Object o) |
int |
groupId() |
@Nullable String |
groupName() |
int |
hashCode() |
boolean |
hasWalChangeRequests() |
boolean |
isConfigurationEnriched() |
@Nullable WalStateProposeMessage |
nextWalChangeRequest() |
boolean |
persistenceEnabled() |
UUID |
receivedFrom() |
void |
removeWalChangeRequest()
Remove pending WAL change request.
|
boolean |
sharedGroup() |
@Nullable AffinityTopologyVersion |
startTopologyVersion() |
String |
toString() |
List<WalStateProposeMessage> |
walChangeRequests() |
boolean |
walEnabled() |
void |
walEnabled(boolean walEnabled) |
public UUID receivedFrom()
public IgniteUuid deploymentId()
public boolean walEnabled()
True if WAL is enabled for cache group.public void walEnabled(boolean walEnabled)
walEnabled - True if WAL is enabled for cache group.public List<WalStateProposeMessage> walChangeRequests()
public boolean hasWalChangeRequests()
True whether there are pending WAL change requests.@Nullable public @Nullable WalStateProposeMessage nextWalChangeRequest()
null if none available.public boolean addWalChangeRequest(WalStateProposeMessage msg)
msg - Message.True if this is the very first enlisted message.public void removeWalChangeRequest()
public boolean sharedGroup()
True if group can contain multiple caches.public String cacheOrGroupName()
@Nullable public @Nullable String groupName()
null if group name was not specified for cache.public int groupId()
public CacheConfiguration<?,?> config()
public void config(CacheConfiguration cacheCfg)
cacheCfg - Cache config.@Nullable public @Nullable AffinityTopologyVersion startTopologyVersion()
public boolean persistenceEnabled()
public CacheConfigurationEnrichment cacheConfigurationEnrichment()
public boolean isConfigurationEnriched()
True if cache configuration is already enriched.public void configurationEnriched(boolean cacheCfgEnriched)
cacheCfgEnriched - Is configuration enriched.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.0 Release Date : October 15 2020