Class IgniteDhtPartitionHistorySuppliersMap

    • Constructor Detail

      • IgniteDhtPartitionHistorySuppliersMap

        public IgniteDhtPartitionHistorySuppliersMap()
    • Method Detail

      • getSupplier

        public List<UUID> getSupplier​(int grpId,
                                      int partId,
                                      long cntrSince)
        Parameters:
        grpId - Group ID.
        partId - Partition ID.
        cntrSince - Partition update counter since history supplying is requested.
        Returns:
        List of supplier UUIDs or empty list if haven't these.
      • getReservations

        @Nullable
        public @Nullable Map<T2<Integer,​Integer>,​Long> getReservations​(UUID nodeId)
        Parameters:
        nodeId - Node ID to check.
        Returns:
        Reservations for the given node.
      • put

        public void put​(UUID nodeId,
                        int grpId,
                        int partId,
                        long cntr)
        Parameters:
        nodeId - Node ID.
        grpId - Cache group ID.
        partId - Partition ID.
        cntr - Partition counter.
      • isEmpty

        public boolean isEmpty()
        Returns:
        True if empty.