Package org.apache.flink.runtime.shuffle
Class ShuffleMasterContextImpl
java.lang.Object
org.apache.flink.runtime.shuffle.ShuffleMasterContextImpl
- All Implemented Interfaces:
ShuffleMasterContext
The default implementation of
ShuffleMasterContext.-
Constructor Summary
ConstructorsConstructorDescriptionShuffleMasterContextImpl(org.apache.flink.configuration.Configuration configuration, org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.configuration.ConfigurationvoidonFatalError(Throwable throwable) Handles the fatal error if any.
-
Constructor Details
-
ShuffleMasterContextImpl
public ShuffleMasterContextImpl(org.apache.flink.configuration.Configuration configuration, org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler)
-
-
Method Details
-
getConfiguration
public org.apache.flink.configuration.Configuration getConfiguration()- Specified by:
getConfigurationin interfaceShuffleMasterContext- Returns:
- the cluster configuration.
-
onFatalError
Description copied from interface:ShuffleMasterContextHandles the fatal error if any.- Specified by:
onFatalErrorin interfaceShuffleMasterContext
-