org.apache.storm.trident.operation

## Interface ITridentResource

- All Known Implementing Classes:
    DefaultResourceDeclarer, Node, PartitionNode, ProcessorNode, SpoutNode

      public interface ITridentResource

  This interface is implemented by various Trident classes in order to gather and propogate resources that have been set on them.

  See Also:
    `ResourceDeclarer`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `Map<String,Number>` | `getResources()` Get resource.
    `Set<SharedMemory>` | `getSharedMemory()` Get shared memory.

- - ### Method Detail

    - #### getResources

          Map<String,Number> getResources()

      Get resource.

      Returns:
        a name of resource name -> amount of that resource. Return should never be null!

    - #### getSharedMemory

          Set<SharedMemory> getSharedMemory()

      Get shared memory.

      Returns:
        the shared memory region requests

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