Interface ITridentResource
-
- All Known Implementing Classes:
DefaultResourceDeclarer,Node,PartitionNode,ProcessorNode,SpoutNode
public interface ITridentResourceThis interface is implemented by various Trident classes in order to gather and propogate resources that have been set on them. SeeResourceDeclarer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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
-
-