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