Class SCMUploaderNotifyRequestPBImpl
java.lang.Object
org.apache.hadoop.yarn.server.api.protocolrecords.SCMUploaderNotifyRequest
org.apache.hadoop.yarn.server.api.protocolrecords.impl.pb.SCMUploaderNotifyRequestPBImpl
-
Constructor Summary
ConstructorsConstructorDescriptionSCMUploaderNotifyRequestPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyRequestProto proto) -
Method Summary
Modifier and TypeMethodDescriptionGet the filename of the resource that was just uploaded to the shared cache.org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyRequestProtogetProto()Get thekeyof the resource that was just uploaded to the shared cache.voidsetFilename(String filename) Set the filename of the resource that was just uploaded to the shared cache.voidsetResourceKey(String key) Set thekeyof the resource that was just uploaded to the shared cache.
-
Constructor Details
-
SCMUploaderNotifyRequestPBImpl
public SCMUploaderNotifyRequestPBImpl() -
SCMUploaderNotifyRequestPBImpl
public SCMUploaderNotifyRequestPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyRequestProto proto)
-
-
Method Details
-
getProto
public org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyRequestProto getProto() -
getResourceKey
Description copied from class:SCMUploaderNotifyRequestGet thekeyof the resource that was just uploaded to the shared cache.- Specified by:
getResourceKeyin classSCMUploaderNotifyRequest- Returns:
key
-
setResourceKey
Description copied from class:SCMUploaderNotifyRequestSet thekeyof the resource that was just uploaded to the shared cache.- Specified by:
setResourceKeyin classSCMUploaderNotifyRequest- Parameters:
key- unique identifier for the resource
-
getFileName
Description copied from class:SCMUploaderNotifyRequestGet the filename of the resource that was just uploaded to the shared cache.- Specified by:
getFileNamein classSCMUploaderNotifyRequest- Returns:
- the filename
-
setFilename
Description copied from class:SCMUploaderNotifyRequestSet the filename of the resource that was just uploaded to the shared cache.- Specified by:
setFilenamein classSCMUploaderNotifyRequest- Parameters:
filename- the name of the file
-