Class RunSharedCacheCleanerTaskResponse

java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.RunSharedCacheCleanerTaskResponse

@Public @Unstable public abstract class RunSharedCacheCleanerTaskResponse extends Object

The response to admin from the SharedCacheManager when is asked to run the cleaner service.

Currently, this is empty.

  • Constructor Details

    • RunSharedCacheCleanerTaskResponse

      public RunSharedCacheCleanerTaskResponse()
  • Method Details

    • getAccepted

      @Public @Unstable public abstract boolean getAccepted()
      Get whether or not the shared cache manager has accepted the request. Shared cache manager will reject the request if there is an ongoing task
      Returns:
      boolean True if the request has been accepted, false otherwise.
    • setAccepted

      @Public @Unstable public abstract void setAccepted(boolean b)
      Set whether or not the shared cache manager has accepted the request Shared cache manager will reject the request if there is an ongoing task
      Parameters:
      b - True if the request has been accepted, false otherwise.