Class SupplyPartitionInfo


  • public class SupplyPartitionInfo
    extends Object
    Information about supplier for specific partition.
    • 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.