Class ClusterRepartitionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.pushtechnology.diffusion.client.session.SessionException
com.pushtechnology.diffusion.client.features.ClusterRoutingException
com.pushtechnology.diffusion.client.features.ClusterRepartitionException
- All Implemented Interfaces:
Serializable
Indicates a cluster operation failed because partition ownership changed
during processing.
Replicated configuration and replicated topic data is stored in partitions. Each server in a cluster owns a share of the partitions. Partitions can be migrated to different servers in the cluster when servers are started, stopped, or fail. During partition migration, cluster operations may fail.
This is a transient error that occurs while the cluster is recovering from failure. The session can retry the operation.
- Since:
- 6.0
- Author:
- DiffusionData Limited
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor.ClusterRepartitionException
(String message) Constructor.ClusterRepartitionException
(String message, Throwable cause) Constructor. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ClusterRepartitionException
public ClusterRepartitionException()Constructor. -
ClusterRepartitionException
Constructor.- Parameters:
message
- the exception message
-
ClusterRepartitionException
Constructor.- Parameters:
message
- the exception messagecause
- the cause
-