Class PartitionDestroyQueue


  • public class PartitionDestroyQueue
    extends Object
    Partition destroy queue.
    • Constructor Detail

      • PartitionDestroyQueue

        public PartitionDestroyQueue()
    • Method Detail

      • addDestroyRequest

        public void addDestroyRequest​(@Nullable
                                      @Nullable CacheGroupContext grpCtx,
                                      int grpId,
                                      int partId)
        Parameters:
        grpCtx - Group context.
        partId - Partition ID to destroy.
      • removeRequest

        public PartitionDestroyRequest removeRequest​(int grpId,
                                                     int partId)
        Parameters:
        grpId - Group ID.
        partId - Partition ID.
        Returns:
        Destroy request that was removed from the queue or null if the request was not found.