|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.hammurapi.eventbus.DispatchNetworkDotSnapshot<E,P,C,K,H,S>
E - P - C - K - public class DispatchNetworkDotSnapshot<E,P extends Comparable<P>,C,K,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>
Outputs dispatch network in DOT format.
| Constructor Summary | |
|---|---|
DispatchNetworkDotSnapshot(File out)
|
|
| Method Summary | |
|---|---|
void |
end(boolean success)
Invoked at the end of taking snapshot |
void |
handler(K id,
EventHandler<E,P,C,H,S> eventHandler)
|
void |
joinInput(K id,
K joinNodeId,
int index)
|
void |
joinNode(K id,
|
void |
predicateNode(K id,
|
void |
setGraphAttribute(String name,
String value)
Sets gpraph attribute, see DOT language documentation (http://www.graphviz.org/pdf/dotguide.pdf) for details. |
void |
start()
Invoked before any other methods. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DispatchNetworkDotSnapshot(File out)
| Method Detail |
|---|
public void start()
AbstractEventBus.Snapshot
start in interface AbstractEventBus.Snapshot<E,P extends Comparable<P>,C,K,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>public void end(boolean success)
AbstractEventBus.Snapshot
end in interface AbstractEventBus.Snapshot<E,P extends Comparable<P>,C,K,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>success - True if there've been no exceptions.
public void handler(K id,
EventHandler<E,P,C,H,S> eventHandler)
handler in interface AbstractEventBus.Snapshot<E,P extends Comparable<P>,C,K,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>
public void setGraphAttribute(String name,
String value)
public void predicateNode(K id,
predicate,
Collection<K> trueChildren,
Collection<K> trueHandlers,
Collection<K> falseChildren,
Collection<K> falseHandlers,
boolean isRoot)
predicateNode in interface AbstractEventBus.Snapshot<E,P extends Comparable<P>,C,K,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>
public void joinInput(K id,
K joinNodeId,
int index)
joinInput in interface AbstractEventBus.Snapshot<E,P extends Comparable<P>,C,K,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>
public void joinNode(K id,
predicate,
Set<Integer> outputIndices,
K eventHandlerId,
K nextJoinNodeId)
joinNode in interface AbstractEventBus.Snapshot<E,P extends Comparable<P>,C,K,H extends EventBus.Handle<E,P,C>,S extends EventStore<E,P,C,H,S>>id - Join node ID.outputIndices - Node output indices.eventHandlerId - Handler ID if this node is a final join node.nextJoinNodeId - Next join node id for intermediary nodes.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||