Class SupplyPartitionInfo
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.distributed.dht.preloader.SupplyPartitionInfo
-
public class SupplyPartitionInfo extends Object
Information about supplier for specific partition.
-
-
Constructor Summary
Constructors Constructor Description SupplyPartitionInfo(int part, long minCntr, long maxReserved, UUID maxReservedNodeId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisHistoryReserved()longmaxReserved()UUIDmaxReservedNodeId()longminCntr()intpart()StringtoString()
-
-
-
Constructor Detail
-
SupplyPartitionInfo
public SupplyPartitionInfo(int part, long minCntr, long maxReserved, UUID maxReservedNodeId)- Parameters:
part- Partiiotn.minCntr- Minimal counter.maxReserved- Max reservation.maxReservedNodeId- Node with maximum reservation.
-
-
Method Detail
-
part
public int part()
- Returns:
- Partition.
-
minCntr
public long minCntr()
- Returns:
- Minimum counter.
-
maxReserved
public long maxReserved()
- Returns:
- Max reservation.
-
maxReservedNodeId
public UUID maxReservedNodeId()
- Returns:
- Node id.
-
isHistoryReserved
public boolean isHistoryReserved()
- Returns:
- True if reserved, false otherwise.
-
-