@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class SCMUploaderNotifyRequest extends Object
The request from the NodeManager to the SharedCacheManager
that
notifies that a resource has been uploaded to the shared cache. The
SharedCacheManager
may reject the resource for various reasons,
in which case the NodeManager should remove it from the shared cache.
Constructor and Description |
---|
SCMUploaderNotifyRequest() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getFileName()
Get the filename of the resource that was just uploaded to the shared
cache.
|
abstract String |
getResourceKey()
Get the
key of the resource that was just uploaded to the
shared cache. |
abstract void |
setFilename(String filename)
Set the filename of the resource that was just uploaded to the shared
cache.
|
abstract void |
setResourceKey(String key)
Set the
key of the resource that was just uploaded to the
shared cache. |
public abstract String getFileName()
public abstract void setFilename(String filename)
filename
- the name of the filepublic abstract String getResourceKey()
key
of the resource that was just uploaded to the
shared cache.key
public abstract void setResourceKey(String key)
key
of the resource that was just uploaded to the
shared cache.key
- unique identifier for the resourceCopyright © 2008–2022 Apache Software Foundation. All rights reserved.