public interface ShuffleDescriptorsCache
Modifier and Type | Method and Description |
---|---|
void |
clear()
clear all cache.
|
void |
clearCacheForJob(JobID jobId)
Clear all cache for the Job.
|
TaskDeploymentDescriptorFactory.ShuffleDescriptorGroup |
get(PermanentBlobKey blobKey)
Get shuffle descriptor group in cache.
|
void |
put(JobID jobId,
PermanentBlobKey blobKey,
TaskDeploymentDescriptorFactory.ShuffleDescriptorGroup shuffleDescriptorGroup)
Put shuffle descriptor group to cache.
|
void clear()
TaskDeploymentDescriptorFactory.ShuffleDescriptorGroup get(PermanentBlobKey blobKey)
blobKey
- identify the shuffle descriptor groupvoid put(JobID jobId, PermanentBlobKey blobKey, TaskDeploymentDescriptorFactory.ShuffleDescriptorGroup shuffleDescriptorGroup)
jobId
- of jobblobKey
- identify the shuffle descriptor groupshuffleDescriptorGroup
- shuffle descriptor group to cachevoid clearCacheForJob(JobID jobId)
jobId
- of jobCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.