Class SCMUploaderNotifyResponsePBImpl

java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.SCMUploaderNotifyResponse
org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb.SCMUploaderNotifyResponsePBImpl

public class SCMUploaderNotifyResponsePBImpl extends SCMUploaderNotifyResponse
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    SCMUploaderNotifyResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyResponseProto proto)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Get whether or not the shared cache manager has accepted the notified resource (i.e. the uploaded file should remain in the cache).
    org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyResponseProto
     
    void
    setAccepted(boolean b)
    Set whether or not the shared cache manager has accepted the notified resource (i.e. the uploaded file should remain in the cache).

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SCMUploaderNotifyResponsePBImpl

      public SCMUploaderNotifyResponsePBImpl()
    • SCMUploaderNotifyResponsePBImpl

      public SCMUploaderNotifyResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyResponseProto proto)
  • Method Details

    • getProto

      public org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyResponseProto getProto()
    • getAccepted

      public boolean getAccepted()
      Description copied from class: SCMUploaderNotifyResponse
      Get whether or not the shared cache manager has accepted the notified resource (i.e. the uploaded file should remain in the cache).
      Specified by:
      getAccepted in class SCMUploaderNotifyResponse
      Returns:
      boolean True if the resource has been accepted, false otherwise.
    • setAccepted

      public void setAccepted(boolean b)
      Description copied from class: SCMUploaderNotifyResponse
      Set whether or not the shared cache manager has accepted the notified resource (i.e. the uploaded file should remain in the cache).
      Specified by:
      setAccepted in class SCMUploaderNotifyResponse
      Parameters:
      b - True if the resource has been accepted, false otherwise.