Module lettuce.core

Class PartitionSelectorException

All Implemented Interfaces:
Serializable

public class PartitionSelectorException
extends PartitionException
Exception thrown when a partition selection fails (slot not covered, no read candidates available).
Since:
5.1
Author:
Mark Paluch
See Also:
Serialized Form
  • Constructor Details

    • PartitionSelectorException

      public PartitionSelectorException​(String msg, Partitions partitions)
      Create a UnknownPartitionException with the specified detail message.
      Parameters:
      msg - the detail message.
      partitions - read-only view of the current topology view.
  • Method Details

    • getPartitions

      public Partitions getPartitions()