public abstract class SpliceGate<Incoming,Outgoing> extends Gate<Incoming,Outgoing> implements ElementDuct, Collapsing
Modifier and Type | Field and Description |
---|---|
protected FlowProcess |
flowProcess |
protected List<Scope> |
incomingScopes |
protected List<Scope> |
outgoingScopes |
protected IORole |
role |
protected Splice |
splice |
Constructor and Description |
---|
SpliceGate(FlowProcess flowProcess,
Splice splice) |
SpliceGate(FlowProcess flowProcess,
Splice splice,
IORole role) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
getBranchNames() |
FlowElement |
getFlowElement() |
List<Scope> |
getIncomingScopes() |
List<Scope> |
getOutgoingScopes() |
Splice |
getSplice() |
protected void |
handleException(Throwable exception,
TupleEntry tupleEntry) |
protected void |
handleReThrowableException(String message,
Throwable throwable) |
boolean |
hasTrapHandler() |
void |
initialize()
Called immediately after bind
|
void |
setBranchNames(Set<String> branchNames) |
void |
setTrapHandler(TrapHandler trapHandler) |
protected final FlowProcess flowProcess
protected final List<Scope> incomingScopes
protected final List<Scope> outgoingScopes
public SpliceGate(FlowProcess flowProcess, Splice splice)
public SpliceGate(FlowProcess flowProcess, Splice splice, IORole role)
protected void handleReThrowableException(String message, Throwable throwable)
protected void handleException(Throwable exception, TupleEntry tupleEntry)
public void initialize()
Duct
initialize
in class Duct<Incoming,Outgoing>
public void setBranchNames(Set<String> branchNames)
setBranchNames
in interface ElementDuct
public Set<String> getBranchNames()
getBranchNames
in interface ElementDuct
public void setTrapHandler(TrapHandler trapHandler)
setTrapHandler
in interface ElementDuct
public boolean hasTrapHandler()
hasTrapHandler
in interface ElementDuct
public FlowElement getFlowElement()
getFlowElement
in interface ElementDuct
public List<Scope> getOutgoingScopes()
getOutgoingScopes
in interface ElementDuct
public List<Scope> getIncomingScopes()
getIncomingScopes
in interface ElementDuct
Copyright © 2007-2015 Concurrent, Inc. All Rights Reserved.