Package org.apache.storm.localizer
Class LocalResource
- java.lang.Object
-
- org.apache.storm.localizer.LocalResource
-
public class LocalResource extends Object
Local Resource requested by the topology.
-
-
Constructor Summary
Constructors Constructor Description LocalResource(String keyname, boolean uncompress, boolean needsCallback)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBlobName()booleanneedsCallback()booleanshouldUncompress()StringtoString()
-
-
-
Constructor Detail
-
LocalResource
public LocalResource(String keyname, boolean uncompress, boolean needsCallback)
Constructor.- Parameters:
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.
-
-