Class UseSharedCacheResourceResponse

java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.UseSharedCacheResourceResponse

@Public @Unstable public abstract class UseSharedCacheResourceResponse extends Object

The response from the SharedCacheManager to the client that indicates whether a requested resource exists in the cache.

  • Constructor Details

    • UseSharedCacheResourceResponse

      public UseSharedCacheResourceResponse()
  • Method Details

    • getPath

      @Public @Unstable public abstract String getPath()
      Get the Path corresponding to the requested resource in the shared cache.
      Returns:
      String A Path if the resource exists in the shared cache, null otherwise
    • setPath

      @Public @Unstable public abstract void setPath(String p)
      Set the Path corresponding to a resource in the shared cache.
      Parameters:
      p - A Path corresponding to a resource in the shared cache