C# 클래스 BatchFlow.Flow

파일 보기 프로젝트 열기: Teun/BatchFlow 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
DefaultPriority ThreadPriority
DefaultStreamSize int

보호된 프로퍼티들

프로퍼티 타입 설명
log log4net.ILog

Private Properties

프로퍼티 타입 설명
CheckValidity void
DecrementInProcess void
IncrementInProcess void
OnError void

공개 메소드들

메소드 설명
AddNode ( TaskNode newNode ) : void
AddNode ( TaskNode newNode, Position position ) : void

Add a node to the flow. Nodes may only be included once per flow

ConnectNodeByJoin ( TaskNode start, TaskNode end, int outNr ) : void
ConnectNodes ( TaskNode publisher, TaskNode reader, int streamNumber ) : BoundedBlockingQueue
ConnectNodes ( TaskNode publisher, TaskNode reader, int streamNumber, int queueSize ) : BoundedBlockingQueue

Flow ( ) : System
FromAsciiArt ( string art ) : Flow
FromAsciiArt ( string art, TaskNode>.IDictionary nodes ) : Flow
GetStateSnapshot ( ) : FlowState
GetStream ( string toTask ) : BoundedBlockingQueue
GetTask ( string name ) : TaskNode
RunToCompletion ( ) : void
Start ( ) : void
Stop ( ) : void

비공개 메소드들

메소드 설명
CheckValidity ( ) : void
DecrementInProcess ( ) : void
IncrementInProcess ( ) : void
OnError ( TaskNode node, Exception exc, object item, bool &stopProcessing ) : void

메소드 상세

AddNode() 공개 메소드

public AddNode ( TaskNode newNode ) : void
newNode TaskNode
리턴 void

AddNode() 공개 메소드

Add a node to the flow. Nodes may only be included once per flow
public AddNode ( TaskNode newNode, Position position ) : void
newNode TaskNode
position Position
리턴 void

ConnectNodeByJoin() 공개 메소드

public ConnectNodeByJoin ( TaskNode start, TaskNode end, int outNr ) : void
start TaskNode
end TaskNode
outNr int
리턴 void

ConnectNodes() 공개 메소드

public ConnectNodes ( TaskNode publisher, TaskNode reader, int streamNumber ) : BoundedBlockingQueue
publisher TaskNode
reader TaskNode
streamNumber int
리턴 BoundedBlockingQueue

ConnectNodes() 공개 메소드

public ConnectNodes ( TaskNode publisher, TaskNode reader, int streamNumber, int queueSize ) : BoundedBlockingQueue
publisher TaskNode
reader TaskNode
streamNumber int
queueSize int
리턴 BoundedBlockingQueue

Flow() 공개 메소드

public Flow ( ) : System
리턴 System

FromAsciiArt() 공개 정적인 메소드

public static FromAsciiArt ( string art ) : Flow
art string
리턴 Flow

FromAsciiArt() 공개 정적인 메소드

public static FromAsciiArt ( string art, TaskNode>.IDictionary nodes ) : Flow
art string
nodes TaskNode>.IDictionary
리턴 Flow

GetStateSnapshot() 공개 메소드

public GetStateSnapshot ( ) : FlowState
리턴 FlowState

GetStream() 공개 메소드

public GetStream ( string toTask ) : BoundedBlockingQueue
toTask string
리턴 BoundedBlockingQueue

GetTask() 공개 메소드

public GetTask ( string name ) : TaskNode
name string
리턴 TaskNode

RunToCompletion() 공개 메소드

public RunToCompletion ( ) : void
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Stop() 공개 메소드

public Stop ( ) : void
리턴 void

프로퍼티 상세

DefaultPriority 공개적으로 정적으로 프로퍼티

public static ThreadPriority DefaultPriority
리턴 ThreadPriority

DefaultStreamSize 공개적으로 정적으로 프로퍼티

public static int DefaultStreamSize
리턴 int

log 보호되어 있는 정적으로 프로퍼티

protected static log4net.ILog log
리턴 log4net.ILog