C# 클래스 FoundationDB.Samples.Tutorials.MessageQueueRunner

상속: IAsyncTest
파일 보기 프로젝트 열기: BedeGaming/foundationdb-dotnet-client

공개 메소드들

메소드 설명
Init ( IFdbDatabase db, CancellationToken ct ) : Task

Setup the initial state of the database

MessageQueueRunner ( string id, AgentRole role, System.TimeSpan delayMin, System.TimeSpan delayMax ) : Doxense.Mathematics.Statistics
Run ( IFdbDatabase db, TextWriter log, CancellationToken ct ) : Task
RunClear ( IFdbDatabase db, CancellationToken ct ) : Task
RunConsumer ( IFdbDatabase db, CancellationToken ct ) : Task
RunProducer ( IFdbDatabase db, CancellationToken ct ) : Task

Simulate a student that is really indecisive

RunStatus ( IFdbDatabase db, CancellationToken ct ) : Task

메소드 상세

Init() 공개 메소드

Setup the initial state of the database
public Init ( IFdbDatabase db, CancellationToken ct ) : Task
db IFdbDatabase
ct System.Threading.CancellationToken
리턴 Task

MessageQueueRunner() 공개 메소드

public MessageQueueRunner ( string id, AgentRole role, System.TimeSpan delayMin, System.TimeSpan delayMax ) : Doxense.Mathematics.Statistics
id string
role AgentRole
delayMin System.TimeSpan
delayMax System.TimeSpan
리턴 Doxense.Mathematics.Statistics

Run() 공개 메소드

public Run ( IFdbDatabase db, TextWriter log, CancellationToken ct ) : Task
db IFdbDatabase
log System.IO.TextWriter
ct System.Threading.CancellationToken
리턴 Task

RunClear() 공개 메소드

public RunClear ( IFdbDatabase db, CancellationToken ct ) : Task
db IFdbDatabase
ct System.Threading.CancellationToken
리턴 Task

RunConsumer() 공개 메소드

public RunConsumer ( IFdbDatabase db, CancellationToken ct ) : Task
db IFdbDatabase
ct System.Threading.CancellationToken
리턴 Task

RunProducer() 공개 메소드

Simulate a student that is really indecisive
public RunProducer ( IFdbDatabase db, CancellationToken ct ) : Task
db IFdbDatabase
ct System.Threading.CancellationToken
리턴 Task

RunStatus() 공개 메소드

public RunStatus ( IFdbDatabase db, CancellationToken ct ) : Task
db IFdbDatabase
ct System.Threading.CancellationToken
리턴 Task