C# 클래스 Marten.Events.Projections.Async.Fetcher

상속: IDisposable, IFetcher
파일 보기 프로젝트 열기: JasperFx/marten 1 사용 예제들

공개 메소드들

메소드 설명
Dispose ( ) : void
FetchNextPage ( long lastEncountered ) : Task
Fetcher ( IDocumentStore store, Marten.Events.Projections.Async.DaemonSettings settings, Marten.Events.Projections.Async.AsyncOptions options, IDaemonLogger logger, IDaemonErrorHandler errorHandler, IEnumerable eventTypes ) : System
Fetcher ( IDocumentStore store, Marten.Events.Projections.Async.DaemonSettings settings, IProjection projection, IDaemonLogger logger, IDaemonErrorHandler errorHandler ) : System
Pause ( ) : Task
Reset ( ) : void
Start ( IProjectionTrack track, DaemonLifecycle lifecycle, CancellationToken token = default(CancellationToken) ) : void
Stop ( ) : Task

비공개 메소드들

메소드 설명
buildEventPage ( long @from, NpgsqlCommand cmd ) : Task
fetchEvents ( IProjectionTrack track, DaemonLifecycle lifecycle ) : Task
fetchNextPage ( long lastEncountered ) : Task
getLong ( DbDataReader reader ) : Task

메소드 상세

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

FetchNextPage() 공개 메소드

public FetchNextPage ( long lastEncountered ) : Task
lastEncountered long
리턴 Task

Fetcher() 공개 메소드

public Fetcher ( IDocumentStore store, Marten.Events.Projections.Async.DaemonSettings settings, Marten.Events.Projections.Async.AsyncOptions options, IDaemonLogger logger, IDaemonErrorHandler errorHandler, IEnumerable eventTypes ) : System
store IDocumentStore
settings Marten.Events.Projections.Async.DaemonSettings
options Marten.Events.Projections.Async.AsyncOptions
logger IDaemonLogger
errorHandler IDaemonErrorHandler
eventTypes IEnumerable
리턴 System

Fetcher() 공개 메소드

public Fetcher ( IDocumentStore store, Marten.Events.Projections.Async.DaemonSettings settings, IProjection projection, IDaemonLogger logger, IDaemonErrorHandler errorHandler ) : System
store IDocumentStore
settings Marten.Events.Projections.Async.DaemonSettings
projection IProjection
logger IDaemonLogger
errorHandler IDaemonErrorHandler
리턴 System

Pause() 공개 메소드

public Pause ( ) : Task
리턴 Task

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

Start() 공개 메소드

public Start ( IProjectionTrack track, DaemonLifecycle lifecycle, CancellationToken token = default(CancellationToken) ) : void
track IProjectionTrack
lifecycle DaemonLifecycle
token System.Threading.CancellationToken
리턴 void

Stop() 공개 메소드

public Stop ( ) : Task
리턴 Task