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 and Description
    `LocalResource(String keyname, boolean uncompress, boolean needsCallback)` Constructor.

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and 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 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()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2021 The Apache Software Foundation. All rights reserved.