Interface ShuffleDescriptorsCache
-
- All Known Implementing Classes:
DefaultShuffleDescriptorsCache
public interface ShuffleDescriptorsCacheCache of shuffle descriptors in TaskExecutor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()clear all cache.voidclearCacheForJob(org.apache.flink.api.common.JobID jobId)Clear all cache for the Job.TaskDeploymentDescriptorFactory.ShuffleDescriptorGroupget(PermanentBlobKey blobKey)Get shuffle descriptor group in cache.voidput(org.apache.flink.api.common.JobID jobId, PermanentBlobKey blobKey, TaskDeploymentDescriptorFactory.ShuffleDescriptorGroup shuffleDescriptorGroup)Put shuffle descriptor group to cache.
-
-
-
Method Detail
-
clear
void clear()
clear all cache.
-
get
TaskDeploymentDescriptorFactory.ShuffleDescriptorGroup get(PermanentBlobKey blobKey)
Get shuffle descriptor group in cache.- Parameters:
blobKey- identify the shuffle descriptor group- Returns:
- shuffle descriptor group in cache if exists, otherwise null
-
put
void put(org.apache.flink.api.common.JobID jobId, PermanentBlobKey blobKey, TaskDeploymentDescriptorFactory.ShuffleDescriptorGroup shuffleDescriptorGroup)Put shuffle descriptor group to cache.- Parameters:
jobId- of jobblobKey- identify the shuffle descriptor groupshuffleDescriptorGroup- shuffle descriptor group to cache
-
clearCacheForJob
void clearCacheForJob(org.apache.flink.api.common.JobID jobId)
Clear all cache for the Job.- Parameters:
jobId- of job
-
-