Class SCMUploaderCanUploadRequest
java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.SCMUploaderCanUploadRequest
- Direct Known Subclasses:
SCMUploaderCanUploadRequestPBImpl
The request from the NodeManager to the SharedCacheManager that
requests whether it can upload a resource in the shared cache.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract StringGet thekeyof the resource that would be uploaded to the shared cache.abstract voidsetResourceKey(String key) Set thekeyof the resource that would be uploaded to the shared cache.
-
Constructor Details
-
SCMUploaderCanUploadRequest
public SCMUploaderCanUploadRequest()
-
-
Method Details
-
getResourceKey
Get thekeyof the resource that would be uploaded to the shared cache.- Returns:
key
-
setResourceKey
Set thekeyof the resource that would be uploaded to the shared cache.- Parameters:
key- unique identifier for the resource
-