Class LocalResource

java.lang.Object
org.apache.storm.localizer.LocalResource

public class LocalResource extends Object
Local Resource requested by the topology.
  • Constructor Details

    • 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 Details

    • getBlobName

      public String getBlobName()
    • shouldUncompress

      public boolean shouldUncompress()
    • needsCallback

      public boolean needsCallback()
    • toString

      public String toString()
      Overrides:
      toString in class Object