public class PartitionedClusterUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DYNAMIC_PARTITIONING_PROPERTY |
static int |
NO_PARTITION |
Modifier and Type | Method and Description |
---|---|
static int |
extractPartitionIdFromSpaceName(String spaceName) |
static int |
getPartitionId(Object routingValue,
ClusterTopology topology) |
static int |
getPartitionId(Object routingValue,
SpaceClusterInfo clusterInfo) |
static boolean |
isDynamicPartitioningEnabled(String propValue,
boolean isPartitioned) |
static int |
safeAbs(int value) |
public static final int NO_PARTITION
public static final String DYNAMIC_PARTITIONING_PROPERTY
public static boolean isDynamicPartitioningEnabled(String propValue, boolean isPartitioned)
public static int getPartitionId(Object routingValue, SpaceClusterInfo clusterInfo)
public static int getPartitionId(Object routingValue, ClusterTopology topology)
public static int safeAbs(int value)
public static int extractPartitionIdFromSpaceName(String spaceName)
Copyright © GigaSpaces.