Class NoOpMasterAgent
- java.lang.Object
-
- org.apache.flink.runtime.io.network.partition.hybrid.tiered.tier.NoOpMasterAgent
-
- All Implemented Interfaces:
TierMasterAgent
public class NoOpMasterAgent extends Object implements TierMasterAgent
The empty implementation forTierMasterAgent
.
-
-
Field Summary
Fields Modifier and Type Field Description static NoOpMasterAgent
INSTANCE
-
Constructor Summary
Constructors Constructor Description NoOpMasterAgent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TierShuffleDescriptor
addPartitionAndGetShuffleDescriptor(JobID jobID, ResultPartitionID resultPartitionID)
Add a new tiered storage partition and get theTierShuffleDescriptor
.void
close()
Close this tier master agent.void
registerJob(JobID jobID, TierShuffleHandler tierShuffleHandler)
Register a job id with aTierShuffleHandler
.void
releasePartition(TierShuffleDescriptor shuffleDescriptor)
Release a tiered storage partition.void
unregisterJob(JobID jobID)
Unregister a job id.
-
-
-
Field Detail
-
INSTANCE
public static final NoOpMasterAgent INSTANCE
-
-
Method Detail
-
registerJob
public void registerJob(JobID jobID, TierShuffleHandler tierShuffleHandler)
Description copied from interface:TierMasterAgent
Register a job id with aTierShuffleHandler
.- Specified by:
registerJob
in interfaceTierMasterAgent
-
unregisterJob
public void unregisterJob(JobID jobID)
Description copied from interface:TierMasterAgent
Unregister a job id.- Specified by:
unregisterJob
in interfaceTierMasterAgent
-
addPartitionAndGetShuffleDescriptor
public TierShuffleDescriptor addPartitionAndGetShuffleDescriptor(JobID jobID, ResultPartitionID resultPartitionID)
Description copied from interface:TierMasterAgent
Add a new tiered storage partition and get theTierShuffleDescriptor
.- Specified by:
addPartitionAndGetShuffleDescriptor
in interfaceTierMasterAgent
-
releasePartition
public void releasePartition(TierShuffleDescriptor shuffleDescriptor)
Description copied from interface:TierMasterAgent
Release a tiered storage partition.- Specified by:
releasePartition
in interfaceTierMasterAgent
- Parameters:
shuffleDescriptor
- the partition shuffle descriptor to be released
-
close
public void close()
Description copied from interface:TierMasterAgent
Close this tier master agent.- Specified by:
close
in interfaceTierMasterAgent
-
-