Interface TierMasterAgent
-
- All Known Implementing Classes:
NoOpMasterAgent,RemoteTierMasterAgent
public interface TierMasterAgentThe master-side agent of a Tier.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TierShuffleDescriptoraddPartitionAndGetShuffleDescriptor(org.apache.flink.api.common.JobID jobID, 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.
-
-
-
Method Detail
-
registerJob
void registerJob(org.apache.flink.api.common.JobID jobID, TierShuffleHandler tierShuffleHandler)Register a job id with aTierShuffleHandler.
-
unregisterJob
void unregisterJob(org.apache.flink.api.common.JobID jobID)
Unregister a job id.
-
addPartitionAndGetShuffleDescriptor
TierShuffleDescriptor addPartitionAndGetShuffleDescriptor(org.apache.flink.api.common.JobID jobID, ResultPartitionID resultPartitionID)
Add a new tiered storage partition and get theTierShuffleDescriptor.
-
releasePartition
void releasePartition(TierShuffleDescriptor shuffleDescriptor)
Release a tiered storage partition.- Parameters:
shuffleDescriptor- the partition shuffle descriptor to be released
-
close
void close()
Close this tier master agent.
-
-