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

  Modifier and Type
  Method
  Description
  `String`
  `getBlobName()`
  `boolean`
  `needsCallback()`
  `boolean`
  `shouldUncompress()`
  `String`
  `toString()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## 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`