@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class SCMUploaderCanUploadRequest extends Object
The request from the NodeManager to the SharedCacheManager
that
requests whether it can upload a resource in the shared cache.
Constructor and Description |
---|
SCMUploaderCanUploadRequest() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getResourceKey()
Get the
key of the resource that would be uploaded to the
shared cache. |
abstract void |
setResourceKey(String key)
Set the
key of the resource that would be uploaded to the
shared cache. |
public abstract String getResourceKey()
key
of the resource that would be uploaded to the
shared cache.key
public abstract void setResourceKey(String key)
key
of the resource that would be uploaded to the
shared cache.key
- unique identifier for the resourceCopyright © 2008–2023 Apache Software Foundation. All rights reserved.