Class RegistrationResponse.Failure

java.lang.Object
org.apache.flink.runtime.registration.RegistrationResponse
org.apache.flink.runtime.registration.RegistrationResponse.Failure
All Implemented Interfaces:
Serializable
Enclosing class:
RegistrationResponse

public static final class RegistrationResponse.Failure extends RegistrationResponse
A registration failure.

A failure indicates a temporary problem which can be solved by retrying the connection attempt. That's why the RetryingRegistration will retry the registration with the target upon receiving a RegistrationResponse.Failure response. Consequently, the target should answer with a RegistrationResponse.Failure if a temporary failure has occurred.

See Also:
  • Constructor Details

    • Failure

      public Failure(Throwable reason)
      Creates a new failure message.
      Parameters:
      reason - The reason for the failure.
  • Method Details

    • getReason

      public org.apache.flink.util.SerializedThrowable getReason()
      Gets the reason for the failure.
    • toString

      public String toString()
      Overrides:
      toString in class Object