Package org.apache.storm.trident.graph
Class Group
- java.lang.Object
-
- org.apache.storm.trident.graph.Group
-
public class Group extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Map<String,Number>
getResources(Map<String,Number> defaults)
In case no resources are specified, returns empty map.Set<SharedMemory>
getSharedMemory()
Get shared memory.int
hashCode()
Set<Node>
incomingNodes()
Set<Node>
outgoingNodes()
String
toString()
-
-
-
Method Detail
-
getSharedMemory
public Set<SharedMemory> getSharedMemory()
Get shared memory.- Returns:
- the shared memory requests for the entire group
-
getResources
public Map<String,Number> getResources(Map<String,Number> defaults)
In case no resources are specified, returns empty map. In case differing types of resources are specified, throw. Otherwise, add all the resources for a group.
-
-