Package com.levigo.jadice.server.nodes
Class DemultiplexerNode
- java.lang.Object
-
- com.levigo.jadice.server.internal.NodeInternal
-
- com.levigo.jadice.server.Node
-
- com.levigo.jadice.server.nodes.DemultiplexerNode
-
public class DemultiplexerNode extends Node
The DemultiplexerNode merges a set of input stream bundles into a single output stream bundle. The merge is performed so that all stream from the first bundle, then all streams from the second bundle and so on end up in the output bundle. The demultiplexed streams' contents are not modified in any other way.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.levigo.jadice.server.Node
Node.Cardinality
-
-
Constructor Summary
Constructors Constructor Description DemultiplexerNode()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Node.Cardinality
getInputCardinality()
Return the input cardinality of this node, i.e.String
getWorkerClassName()
Return the node's associatedcom.levigo.jadice.server.core.NodeWorker
full qualified class's name.-
Methods inherited from class com.levigo.jadice.server.Node
addTransportReceiver, appendSuccessor, apply, equals, getJob, getOutputCardinality, getPredecessors, getSubsidiaryNodes, getSuccessors, getTransportSender, getUUID, hashCode, initialize, prependPredecessor, remove, validateConfiguration
-
-
-
-
Method Detail
-
getWorkerClassName
public String getWorkerClassName()
Description copied from class:Node
Return the node's associatedcom.levigo.jadice.server.core.NodeWorker
full qualified class's name. By default, the worker class name is- The same as the node name with the trailing "Node" replaced by "Worker" if the node name ends in "Node"
- The node class name with an appended "Worker" otherwise.
This behavior can be overridden in concrete subclasses.
- Overrides:
getWorkerClassName
in classNode
- Returns:
- the full qualified class name of the worker of this node.
-
getInputCardinality
public Node.Cardinality getInputCardinality()
Description copied from class:Node
Return the input cardinality of this node, i.e. how many bundles (not streams!) it expects to process. By default, nodes are "pipe-style", i.e. one input, one output.- Overrides:
getInputCardinality
in classNode
- Returns:
- input cardinality
-
-