Class Group


  • public class Group
    extends Object
    • Field Detail

      • nodes

        public final Set<Node> nodes
    • Constructor Detail

      • Group

        public Group​(org.apache.storm.shade.org.jgrapht.DirectedGraph graph,
                     List<Node> nodes)
      • Group

        public Group​(org.apache.storm.shade.org.jgrapht.DirectedGraph graph,
                     Node n)
    • Method Detail

      • outgoingNodes

        public Set<Node> outgoingNodes()
      • incomingNodes

        public Set<Node> incomingNodes()
      • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object