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
RetryingRegistrationwill retry the registration with the target upon receiving aRegistrationResponse.Failureresponse. Consequently, the target should answer with aRegistrationResponse.Failureif a temporary failure has occurred.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.flink.runtime.registration.RegistrationResponse
RegistrationResponse.Failure, RegistrationResponse.Rejection, RegistrationResponse.Success
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.util.SerializedThrowablegetReason()Gets the reason for the failure.StringtoString()
-
-
-
Constructor Detail
-
Failure
public Failure(Throwable reason)
Creates a new failure message.- Parameters:
reason- The reason for the failure.
-
-