MCPcopy Create free account
hub / github.com/apache/storm / getParents

Method getParents

storm-client/src/jvm/org/apache/storm/streams/Node.java:130–133  ·  view source on GitHub ↗
(String stream)

Source from the content-addressed store, hash-verified

128 }
129
130 Set<Node> getParents(String stream) {
131 Multimap<String, Node> rev = Multimaps.invertFrom(parentStreams, ArrayListMultimap.<String, Node>create());
132 return new HashSet<>(rev.get(stream));
133 }
134
135 Set<Node> getParents() {
136 return parentStreams.keySet();

Callers 1

testBranchMethod · 0.95

Calls 3

createMethod · 0.65
getMethod · 0.65
keySetMethod · 0.45

Tested by 1

testBranchMethod · 0.76