Свойство | Type | Description | |
---|---|---|---|
Assembly | GraphAssembly | ||
ConnectionSlots | object[] | ||
FuzzingMode | bool | ||
InHandlers | IInHandler[] | ||
IsDebug | bool | ||
Log | ILoggingAdapter | ||
Logics | GraphStageLogic[] | ||
Materializer | IMaterializer | ||
OnAsyncInput | Action |
||
OutHandlers | IOutHandler[] | ||
PortStates | int[] | ||
RunningStagesCount | int | ||
SingleNoAttribute | Attributes[] |
Свойство | Type | Description | |
---|---|---|---|
AfterStageHasRun | void | ||
Cancel | void | ||
Complete | void | ||
CompleteConnection | void | ||
Dequeue | int | ||
Enqueue | void | ||
Fail | void | ||
FinalizeStage | void | ||
InLogicName | string | ||
InOwnerName | string | ||
IsStageCompleted | bool | ||
OutLogicName | string | ||
OutOwnerName | string | ||
ProcessEvent | void | ||
Pull | void | ||
Push | void | ||
QueueStatus | string | ||
SafeLogics | GraphStageLogic | ||
SetKeepGoing | void | ||
ShutdownCounters | string |
Méthode | Description | |
---|---|---|
AttachDownstreamBoundary ( int connection, DownstreamBoundaryStageLogic logic ) : void |
Assign the boundary logic to a given connection. This will serve as the interface to the external world (outside the interpreter) to process and inject events.
|
|
AttachUpstreamBoundary ( int connection, UpstreamBoundaryStageLogic logic ) : void |
Assign the boundary logic to a given connection. This will serve as the interface to the external world (outside the interpreter) to process and inject events.
|
|
DumpWaits ( ) : void |
Debug utility to dump the "waits-on" relationships in DOT format to the console for analysis of deadlocks. Only invoke this after the interpreter completely settled, otherwise the results might be off. This is a very simplistic tool, make sure you are understanding what you are doing and then it will serve you well.
|
|
Execute ( int eventLimit ) : void |
Executes pending events until the given limit is met. If there were remaining events, IsSuspended will return true.
|
|
Finish ( ) : void |
Finalizes the state of all stages by calling GraphStageLogic.PostStop (if necessary).
|
|
GraphInterpreter ( GraphAssembly assembly, IMaterializer materializer, ILoggingAdapter log, IInHandler inHandlers, IOutHandler outHandlers, GraphStageLogic logics, Action | ||
Init ( IMaterializer subMaterializer ) : void |
Initializes the states of all the stage logics by calling GraphStageLogic.PreStart. The passed-in materializer is intended to be a SubFusingMaterializer that avoids creating new Actors when stages materialize sub-flows.If no such materializer is available, passing in null will reuse the normal materializer for the GraphInterpreter—fusing is only an optimization.
|
|
ProcessElement ( int connection ) : void | ||
RunAsyncInput ( GraphStageLogic logic, object evt, Action | ||
SetHandler ( int connection, IInHandler handler ) : void |
Dynamic handler changes are communicated from a GraphStageLogic by this method.
|
|
SetHandler ( int connection, IOutHandler handler ) : void |
Dynamic handler changes are communicated from a GraphStageLogic by this method.
|
Méthode | Description | |
---|---|---|
AfterStageHasRun ( GraphStageLogic logic ) : void | ||
Cancel ( int connection ) : void | ||
Complete ( int connection ) : void | ||
CompleteConnection ( int stageId ) : void |
Register that a connection in which the given stage participated has been completed and therefore the stage itself might stop, too.
|
|
Dequeue ( ) : int | ||
Enqueue ( int connection ) : void | ||
Fail ( int connection, |
||
FinalizeStage ( GraphStageLogic logic ) : void | ||
InLogicName ( int connection ) : string | ||
InOwnerName ( int connection ) : string | ||
IsStageCompleted ( GraphStageLogic stage ) : bool |
Returns true if the given stage is alredy completed
|
|
OutLogicName ( int connection ) : string | ||
OutOwnerName ( int connection ) : string | ||
ProcessEvent ( int connection ) : void |
Decodes and processes a single event for the given connection
|
|
Pull ( int connection ) : void | ||
Push ( int connection, object element ) : void | ||
QueueStatus ( ) : string | ||
SafeLogics ( int id ) : GraphStageLogic | ||
SetKeepGoing ( GraphStageLogic logic, bool enabled ) : void | ||
ShutdownCounters ( ) : string |
public AttachDownstreamBoundary ( int connection, DownstreamBoundaryStageLogic logic ) : void | ||
connection | int | |
logic | DownstreamBoundaryStageLogic | |
Résultat | void |
public AttachUpstreamBoundary ( int connection, UpstreamBoundaryStageLogic logic ) : void | ||
connection | int | |
logic | UpstreamBoundaryStageLogic | |
Résultat | void |
public GraphInterpreter ( GraphAssembly assembly, IMaterializer materializer, ILoggingAdapter log, IInHandler inHandlers, IOutHandler outHandlers, GraphStageLogic logics, Action | ||
assembly | GraphAssembly | |
materializer | IMaterializer | |
log | ILoggingAdapter | |
inHandlers | IInHandler | |
outHandlers | IOutHandler | |
logics | GraphStageLogic | |
onAsyncInput | Action | |
fuzzingMode | bool | |
Résultat | System |
public Init ( IMaterializer subMaterializer ) : void | ||
subMaterializer | IMaterializer | |
Résultat | void |
public ProcessElement ( int connection ) : void | ||
connection | int | |
Résultat | void |
public RunAsyncInput ( GraphStageLogic logic, object evt, Action | ||
logic | GraphStageLogic | |
evt | object | |
handler | Action | |
Résultat | void |
public SetHandler ( int connection, IInHandler handler ) : void | ||
connection | int | |
handler | IInHandler | |
Résultat | void |
public SetHandler ( int connection, IOutHandler handler ) : void | ||
connection | int | |
handler | IOutHandler | |
Résultat | void |