public class DefaultShuffleDescriptorsCache extends Object implements ShuffleDescriptorsCache
ShuffleDescriptorsCache. Entries will be expired after timeout.| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultShuffleDescriptorsCache.Factory
The Factory of
DefaultShuffleDescriptorsCache. |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
clear all cache.
|
void |
clearCacheForJob(org.apache.flink.api.common.JobID jobId)
Clear all cache for the Job.
|
TaskDeploymentDescriptorFactory.ShuffleDescriptorGroup |
get(PermanentBlobKey blobKey)
Get shuffle descriptor group in cache.
|
void |
put(org.apache.flink.api.common.JobID jobId,
PermanentBlobKey blobKey,
TaskDeploymentDescriptorFactory.ShuffleDescriptorGroup shuffleDescriptorGroup)
Put shuffle descriptor group to cache.
|
public void clear()
ShuffleDescriptorsCacheclear in interface ShuffleDescriptorsCachepublic TaskDeploymentDescriptorFactory.ShuffleDescriptorGroup get(PermanentBlobKey blobKey)
ShuffleDescriptorsCacheget in interface ShuffleDescriptorsCacheblobKey - identify the shuffle descriptor grouppublic void put(org.apache.flink.api.common.JobID jobId,
PermanentBlobKey blobKey,
TaskDeploymentDescriptorFactory.ShuffleDescriptorGroup shuffleDescriptorGroup)
ShuffleDescriptorsCacheput in interface ShuffleDescriptorsCachejobId - of jobblobKey - identify the shuffle descriptor groupshuffleDescriptorGroup - shuffle descriptor group to cachepublic void clearCacheForJob(org.apache.flink.api.common.JobID jobId)
ShuffleDescriptorsCacheclearCacheForJob in interface ShuffleDescriptorsCachejobId - of jobCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.