Class LocalStatisticsGatheringContext


  • public class LocalStatisticsGatheringContext
    extends Object
    Statistics gathering context.
    • Method Detail

      • forceRecollect

        public boolean forceRecollect()
        Returns:
        Force recollect flag.
      • cacheContextInfo

        public GridCacheContextInfo<?,​?> cacheContextInfo()
        Returns:
        Cache context of processing table.
      • partitionDone

        public boolean partitionDone​(int partId)
        Decrement remaining partitions due to successfully processed partition.
        Parameters:
        partId - Partition id.
        Returns:
        true if no more partitions left, false - otherwise.
      • remainingParts

        public Set<Integer> remainingParts()
        Returns:
        Set of remaining partitions.
      • allParts

        public Set<Integer> allParts()
        Returns:
        All primary partitions or null if there was just byObsolescence recollection.
      • partitionNotAvailable

        public void partitionNotAvailable​(int partId)
        Decrement remaining partitions due to unavailable partition.
        Parameters:
        partId - Unavailable partition id.
      • cancel

        public void cancel()
        Cancel gathering.
      • cancelled

        public boolean cancelled()
        Returns:
        Cancelled flag.
      • topologyVersion

        public AffinityTopologyVersion topologyVersion()
        Returns:
        Gathering topology version or null if it's just an obsolescence processing.