public class PartitionTableAffinityDescriptor extends Object
| Constructor and Description |
|---|
PartitionTableAffinityDescriptor(PartitionAffinityFunctionType affFunc,
int parts,
boolean hasNodeFilter,
String dataRegion)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isClientPartitionAwarenessApplicable() |
boolean |
isCompatible(PartitionTableAffinityDescriptor other)
Check is provided descriptor is compatible with this instance (i.e. can be used in the same co-location group).
|
int |
parts() |
String |
toString() |
public PartitionTableAffinityDescriptor(PartitionAffinityFunctionType affFunc, int parts, boolean hasNodeFilter, String dataRegion)
affFunc - Affinity function type.parts - Number of partitions.hasNodeFilter - Whether node filter is set.dataRegion - Data region.public boolean isCompatible(PartitionTableAffinityDescriptor other)
other - Other descriptor.True if compatible.public boolean isClientPartitionAwarenessApplicable()
public int parts()
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021