@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class SCMUploaderCanUploadResponse extends Object
The response from the SharedCacheManager to the NodeManager that indicates whether the NodeManager can upload the resource to the shared cache. If it is not accepted by SCM, the NodeManager should not upload it to the shared cache.
Constructor and Description |
---|
SCMUploaderCanUploadResponse() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
getUploadable()
Get whether or not the node manager can upload the resource to the shared
cache.
|
abstract void |
setUploadable(boolean b)
Set whether or not the node manager can upload the resource to the shared
cache.
|
public abstract boolean getUploadable()
public abstract void setUploadable(boolean b)
b
- True if the resource can be uploaded, false otherwise.Copyright © 2022 Apache Software Foundation. All rights reserved.