Class UseSharedCacheResourceRequest
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.UseSharedCacheResourceRequest
The request from clients to the SharedCacheManager that claims a
resource in the shared cache.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract ApplicationIdgetAppId()Get theApplicationIdof the resource to be used.abstract StringGet thekeyof the resource to be used.abstract voidSet theApplicationIdof the resource to be used.abstract voidsetResourceKey(String key) Set thekeyof the resource to be used.
-
Constructor Details
-
UseSharedCacheResourceRequest
public UseSharedCacheResourceRequest()
-
-
Method Details
-
getAppId
Get theApplicationIdof the resource to be used.- Returns:
ApplicationId
-
setAppId
Set theApplicationIdof the resource to be used.- Parameters:
id-ApplicationId
-
getResourceKey
Get thekeyof the resource to be used.- Returns:
key
-
setResourceKey
Set thekeyof the resource to be used.- Parameters:
key- unique identifier for the resource
-