java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.lettuce.core.RedisException
io.lettuce.core.cluster.PartitionException
io.lettuce.core.cluster.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 Summary
Constructors Constructor Description PartitionSelectorException(String msg, Partitions partitions)Create aUnknownPartitionExceptionwith the specified detail message. -
Method Summary
Modifier and Type Method Description PartitionsgetPartitions()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
PartitionSelectorException
Create aUnknownPartitionExceptionwith the specified detail message.- Parameters:
msg- the detail message.partitions- read-only view of the current topology view.
-
-
Method Details
-
getPartitions
-