Class ReleaseSharedCacheResourceRequest

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

@Public @Unstable public abstract class ReleaseSharedCacheResourceRequest extends Object

The request from clients to release a resource in the shared cache.

  • Constructor Details

    • ReleaseSharedCacheResourceRequest

      public ReleaseSharedCacheResourceRequest()
  • Method Details

    • getAppId

      @Public @Unstable public abstract ApplicationId getAppId()
      Get the ApplicationId of the resource to be released.
      Returns:
      ApplicationId
    • setAppId

      @Public @Unstable public abstract void setAppId(ApplicationId id)
      Set the ApplicationId of the resource to be released.
      Parameters:
      id - ApplicationId
    • getResourceKey

      @Public @Unstable public abstract String getResourceKey()
      Get the key of the resource to be released.
      Returns:
      key
    • setResourceKey

      @Public @Unstable public abstract void setResourceKey(String key)
      Set the key of the resource to be released.
      Parameters:
      key - unique identifier for the resource