Package 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 `ResourceDeclarer`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `Map<String,Number>`
  `getResources()`
  Get resource.
  `Set<SharedMemory>`
  `getSharedMemory()`
  Get shared memory.

- ## Method Details

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