public class SCMUploaderNotifyRequestPBImpl extends SCMUploaderNotifyRequest
Constructor and Description |
---|
SCMUploaderNotifyRequestPBImpl() |
SCMUploaderNotifyRequestPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyRequestProto proto) |
Modifier and Type | Method and Description |
---|---|
String |
getFileName()
Get the filename of the resource that was just uploaded to the shared
cache.
|
org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyRequestProto |
getProto() |
String |
getResourceKey()
Get the
key of the resource that was just uploaded to the
shared cache. |
void |
setFilename(String filename)
Set the filename of the resource that was just uploaded to the shared
cache.
|
void |
setResourceKey(String key)
Set the
key of the resource that was just uploaded to the
shared cache. |
public SCMUploaderNotifyRequestPBImpl()
public SCMUploaderNotifyRequestPBImpl(org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyRequestProto proto)
public org.apache.hadoop.yarn.proto.YarnServerCommonServiceProtos.SCMUploaderNotifyRequestProto getProto()
public String getResourceKey()
SCMUploaderNotifyRequest
key
of the resource that was just uploaded to the
shared cache.getResourceKey
in class SCMUploaderNotifyRequest
key
public void setResourceKey(String key)
SCMUploaderNotifyRequest
key
of the resource that was just uploaded to the
shared cache.setResourceKey
in class SCMUploaderNotifyRequest
key
- unique identifier for the resourcepublic String getFileName()
SCMUploaderNotifyRequest
getFileName
in class SCMUploaderNotifyRequest
public void setFilename(String filename)
SCMUploaderNotifyRequest
setFilename
in class SCMUploaderNotifyRequest
filename
- the name of the fileCopyright © 2008–2022 Apache Software Foundation. All rights reserved.