Class SCMUploaderNotifyResponsePBImpl
java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.SCMUploaderNotifyResponse
org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb.SCMUploaderNotifyResponsePBImpl
-
Constructor Summary
ConstructorsConstructorDescriptionSCMUploaderNotifyResponsePBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyResponseProto proto) -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet 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.SCMUploaderNotifyResponseProtogetProto()voidsetAccepted(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).
-
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:SCMUploaderNotifyResponseGet whether or not the shared cache manager has accepted the notified resource (i.e. the uploaded file should remain in the cache).- Specified by:
getAcceptedin classSCMUploaderNotifyResponse- Returns:
- boolean True if the resource has been accepted, false otherwise.
-
setAccepted
public void setAccepted(boolean b) Description copied from class:SCMUploaderNotifyResponseSet whether or not the shared cache manager has accepted the notified resource (i.e. the uploaded file should remain in the cache).- Specified by:
setAcceptedin classSCMUploaderNotifyResponse- Parameters:
b- True if the resource has been accepted, false otherwise.
-