Class UseSharedCacheResourceResponse
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.UseSharedCacheResourceResponse
The response from the SharedCacheManager to the client that indicates whether a requested resource exists in the cache.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
UseSharedCacheResourceResponse
public UseSharedCacheResourceResponse()
-
-
Method Details
-
getPath
Get thePathcorresponding to the requested resource in the shared cache.- Returns:
- String A
Pathif the resource exists in the shared cache,nullotherwise
-
setPath
Set thePathcorresponding to a resource in the shared cache.- Parameters:
p- APathcorresponding to a resource in the shared cache
-