Class PartitionsEvictManager

    • Constructor Detail

      • PartitionsEvictManager

        public PartitionsEvictManager()
    • Method Detail

      • onCacheGroupStarted

        public void onCacheGroupStarted​(CacheGroupContext grp)
        Callback on cache group start.
        Parameters:
        grp - Group.
      • onCacheGroupStopped

        public void onCacheGroupStopped​(CacheGroupContext grp)
        Stops eviction process for group. Method awaits last offered partition eviction.
        Parameters:
        grp - Group context.
      • cleanupRemovedGroup

        public void cleanupRemovedGroup​(int grpId)
        Cleans up group eviction context when it's safe.
        Parameters:
        grpId - Group id.
      • total

        public int total()
        Returns:
        The number of executing + waiting in the queue tasks.