Package org.apache.flink.runtime.shuffle
Class ShuffleMasterContextImpl
- java.lang.Object
-
- org.apache.flink.runtime.shuffle.ShuffleMasterContextImpl
-
- All Implemented Interfaces:
ShuffleMasterContext
public class ShuffleMasterContextImpl extends Object implements ShuffleMasterContext
The default implementation ofShuffleMasterContext.
-
-
Constructor Summary
Constructors Constructor Description ShuffleMasterContextImpl(org.apache.flink.configuration.Configuration configuration, org.apache.flink.runtime.rpc.FatalErrorHandler fatalErrorHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.configuration.ConfigurationgetConfiguration()voidonFatalError(Throwable throwable)Handles the fatal error if any.
-
-
-
Method Detail
-
getConfiguration
public org.apache.flink.configuration.Configuration getConfiguration()
- Specified by:
getConfigurationin interfaceShuffleMasterContext- Returns:
- the cluster configuration.
-
onFatalError
public void onFatalError(Throwable throwable)
Description copied from interface:ShuffleMasterContextHandles the fatal error if any.- Specified by:
onFatalErrorin interfaceShuffleMasterContext
-
-