public class LocalResource extends Object
Local Resource requested by the topology.
Constructor and Description |
---|
LocalResource(String keyname,
boolean uncompress,
boolean needsCallback)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getBlobName() |
boolean |
needsCallback() |
boolean |
shouldUncompress() |
String |
toString() |
public LocalResource(String keyname, boolean uncompress, boolean needsCallback)
Constructor.
keyname
- the key of the blob to download.uncompress
- should the blob be uncompressed or not.needsCallback
- if the blobs changes should a callback happen so the worker is restarted.Copyright © 2022 The Apache Software Foundation. All rights reserved.