Class LocalResource


  • public class LocalResource
    extends Object
    Local Resource requested by the topology.
    • 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.
    • Method Detail

      • getBlobName

        public String getBlobName()
      • shouldUncompress

        public boolean shouldUncompress()
      • needsCallback

        public boolean needsCallback()