Class NoOpMasterAgent
java.lang.Object
org.apache.flink.runtime.io.network.partition.hybrid.tiered.tier.NoOpMasterAgent
- All Implemented Interfaces:
TierMasterAgent
The empty implementation for
TierMasterAgent.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddPartitionAndGetShuffleDescriptor(org.apache.flink.api.common.JobID jobID, int numSubpartitions, ResultPartitionID resultPartitionID) Add a new tiered storage partition and get theTierShuffleDescriptor.voidclose()Close this tier master agent.voidregisterJob(org.apache.flink.api.common.JobID jobID, TierShuffleHandler tierShuffleHandler) Register a job id with aTierShuffleHandler.voidreleasePartition(TierShuffleDescriptor shuffleDescriptor) Release a tiered storage partition.voidunregisterJob(org.apache.flink.api.common.JobID jobID) Unregister a job id.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.runtime.io.network.partition.hybrid.tiered.tier.TierMasterAgent
getPartitionWithMetrics, partitionInRemote, restoreState, restoreState, snapshotState, snapshotState
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
NoOpMasterAgent
public NoOpMasterAgent()
-
-
Method Details
-
registerJob
public void registerJob(org.apache.flink.api.common.JobID jobID, TierShuffleHandler tierShuffleHandler) Description copied from interface:TierMasterAgentRegister a job id with aTierShuffleHandler.- Specified by:
registerJobin interfaceTierMasterAgent
-
unregisterJob
public void unregisterJob(org.apache.flink.api.common.JobID jobID) Description copied from interface:TierMasterAgentUnregister a job id.- Specified by:
unregisterJobin interfaceTierMasterAgent
-
addPartitionAndGetShuffleDescriptor
public TierShuffleDescriptor addPartitionAndGetShuffleDescriptor(org.apache.flink.api.common.JobID jobID, int numSubpartitions, ResultPartitionID resultPartitionID) Description copied from interface:TierMasterAgentAdd a new tiered storage partition and get theTierShuffleDescriptor.- Specified by:
addPartitionAndGetShuffleDescriptorin interfaceTierMasterAgent
-
releasePartition
Description copied from interface:TierMasterAgentRelease a tiered storage partition.- Specified by:
releasePartitionin interfaceTierMasterAgent- Parameters:
shuffleDescriptor- the partition shuffle descriptor to be released
-
close
public void close()Description copied from interface:TierMasterAgentClose this tier master agent.- Specified by:
closein interfaceTierMasterAgent
-