public class MultithreadedDispatchBranch extends PipelineBranch implements com.exalead.util.Checkable, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_NB_THREADS |
int |
nbThreads |
autolink, branchAction, DEFAULT_AUTOLINK, input, output, pipelineLink
name
Constructor and Description |
---|
MultithreadedDispatchBranch() |
MultithreadedDispatchBranch(MultithreadedDispatchBranch o)
Copy constructor
|
Modifier and Type | Method and Description |
---|---|
void |
check(boolean deep,
java.lang.String errorContext)
Checks this MultithreadedDispatchBranch.
|
static MultithreadedDispatchBranch |
fromString(java.lang.String s)
String representation of this MultithreadedDispatchBranch.
|
int |
getNbThreads()
Number of replications of this branch
|
MultithreadedDispatchBranch |
makeCopy()
Creates and returns a deep copy of this MultithreadedDispatchBranch.
|
static MultithreadedDispatchBranch |
readFrom(java.io.InputStream is)
Read this MultithreadedDispatchBranch from an XML fragment.
|
void |
setNbThreads(int nbThreads)
Number of replications of this branch
|
java.lang.String |
toString()
String representation of this MultithreadedDispatchBranch.
|
MultithreadedDispatchBranch |
withAutolink(boolean autolink) |
MultithreadedDispatchBranch |
withAutolink(java.lang.Boolean autolink) |
MultithreadedDispatchBranch |
withBranchAction(BranchAction... __values)
Actions in the branch
|
MultithreadedDispatchBranch |
withBranchAction(java.util.Collection<BranchAction> __values) |
MultithreadedDispatchBranch |
withInput(java.lang.String input) |
MultithreadedDispatchBranch |
withName(java.lang.String name) |
MultithreadedDispatchBranch |
withNbThreads(int nbThreads) |
MultithreadedDispatchBranch |
withNbThreads(java.lang.Integer nbThreads) |
MultithreadedDispatchBranch |
withOutput(java.lang.String output) |
MultithreadedDispatchBranch |
withPipelineLink(java.util.Collection<PipelineLink> __values) |
MultithreadedDispatchBranch |
withPipelineLink(PipelineLink... __values)
Links between actions
|
void |
writeTo(java.io.OutputStream os)
Write this MultithreadedDispatchBranch as an XML fragment
|
getBranchAction, getBranchActionAsMap, getBranchActionByName, getInput, getOutput, getPipelineLink, isAutolink, removeBranchActionByName, setAutolink, setInput, setOutput
getName, setName
public int nbThreads
public static final int DEFAULT_NB_THREADS
public MultithreadedDispatchBranch()
public MultithreadedDispatchBranch(MultithreadedDispatchBranch o)
public MultithreadedDispatchBranch withBranchAction(BranchAction... __values)
withBranchAction
in class PipelineBranch
public MultithreadedDispatchBranch withBranchAction(java.util.Collection<BranchAction> __values)
withBranchAction
in class PipelineBranch
public MultithreadedDispatchBranch withPipelineLink(PipelineLink... __values)
withPipelineLink
in class PipelineBranch
public MultithreadedDispatchBranch withPipelineLink(java.util.Collection<PipelineLink> __values)
withPipelineLink
in class PipelineBranch
public MultithreadedDispatchBranch withInput(java.lang.String input)
withInput
in class PipelineBranch
public MultithreadedDispatchBranch withOutput(java.lang.String output)
withOutput
in class PipelineBranch
public MultithreadedDispatchBranch withAutolink(boolean autolink)
withAutolink
in class PipelineBranch
public MultithreadedDispatchBranch withAutolink(java.lang.Boolean autolink)
withAutolink
in class PipelineBranch
public MultithreadedDispatchBranch withName(java.lang.String name)
withName
in class PipelineBranch
public void setNbThreads(int nbThreads)
public int getNbThreads()
public MultithreadedDispatchBranch withNbThreads(int nbThreads)
public MultithreadedDispatchBranch withNbThreads(java.lang.Integer nbThreads)
public MultithreadedDispatchBranch makeCopy()
makeCopy
in class PipelineBranch
public static MultithreadedDispatchBranch readFrom(java.io.InputStream is) throws javax.xml.bind.JAXBException
javax.xml.bind.JAXBException
public void writeTo(java.io.OutputStream os) throws javax.xml.bind.JAXBException, java.io.IOException
writeTo
in class PipelineBranch
javax.xml.bind.JAXBException
java.io.IOException
public static MultithreadedDispatchBranch fromString(java.lang.String s) throws javax.xml.bind.JAXBException, java.io.UnsupportedEncodingException
javax.xml.bind.JAXBException
java.io.UnsupportedEncodingException
public java.lang.String toString()
toString
in class PipelineBranch
public void check(boolean deep, java.lang.String errorContext) throws com.exalead.util.TypedException
check
in interface com.exalead.util.Checkable
check
in class PipelineBranch
com.exalead.util.TypedException
Copyright © 2021 Dassault Systèmes, All Rights Reserved.