Interface TierMasterAgent
-
- All Known Implementing Classes:
NoOpMasterAgent
,RemoteTierMasterAgent
public interface TierMasterAgent
The master-side agent of a Tier.
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
registerJob
void registerJob(JobID jobID, TierShuffleHandler tierShuffleHandler)
Register a job id with aTierShuffleHandler
.
-
unregisterJob
void unregisterJob(JobID jobID)
Unregister a job id.
-
addPartitionAndGetShuffleDescriptor
TierShuffleDescriptor addPartitionAndGetShuffleDescriptor(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.
-
-