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 aRegistrationResponse.Failure
response. Consequently, the target should answer with aRegistrationResponse.Failure
if 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 SerializedThrowable
getReason()
Gets the reason for the failure.String
toString()
-
-
-
Constructor Detail
-
Failure
public Failure(Throwable reason)
Creates a new failure message.- Parameters:
reason
- The reason for the failure.
-
-
Method Detail
-
getReason
public SerializedThrowable getReason()
Gets the reason for the failure.
-
-