public class Group extends Object
Constructor and Description |
---|
Group(org.apache.storm.shade.org.jgrapht.DirectedGraph graph,
List<Node> nodes) |
Group(org.apache.storm.shade.org.jgrapht.DirectedGraph graph,
Node n) |
Group(Group g1,
Group g2) |
Modifier and Type | Method and 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() |
public Group(org.apache.storm.shade.org.jgrapht.DirectedGraph graph, Node n)
public Set<SharedMemory> getSharedMemory()
Get shared memory.
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.
Copyright © 2022 The Apache Software Foundation. All rights reserved.