C# Class Marten.Events.Projections.Async.ProjectionTrack

Inheritance: IProjectionTrack
Afficher le fichier Open project: JasperFx/marten Class Usage Examples

Méthodes publiques

Méthode Description
CachePage ( EventPage page ) : Task
Dispose ( ) : void
ExecutePage ( EventPage page, CancellationToken cancellation ) : Task
Finished ( long lastEncountered ) : void
ProjectionTrack ( IFetcher fetcher, IDocumentStore store, IProjection projection, IDaemonLogger logger, IDaemonErrorHandler errorHandler ) : System
QueuePage ( EventPage page ) : void
Rebuild ( CancellationToken token = newCancellationToken() ) : Task
RunUntilEndOfEvents ( CancellationToken token = default(CancellationToken) ) : Task
Start ( ) : Task
Start ( DaemonLifecycle lifecycle ) : void
Stop ( ) : Task
StoreProgress ( Type viewType, EventPage page ) : Task
WaitUntilEventIsProcessed ( long sequence ) : Task

Private Methods

Méthode Description
clearExistingState ( CancellationToken token ) : Task
evaluateWaiters ( ) : void
executePage ( EventPage page, CancellationToken cancellation ) : Task
shouldRestartFetcher ( ) : bool
startConsumers ( ) : void
stopConsumers ( ) : void

Method Details

CachePage() public méthode

public CachePage ( EventPage page ) : Task
page EventPage
Résultat Task

Dispose() public méthode

public Dispose ( ) : void
Résultat void

ExecutePage() public méthode

public ExecutePage ( EventPage page, CancellationToken cancellation ) : Task
page EventPage
cancellation System.Threading.CancellationToken
Résultat Task

Finished() public méthode

public Finished ( long lastEncountered ) : void
lastEncountered long
Résultat void

ProjectionTrack() public méthode

public ProjectionTrack ( IFetcher fetcher, IDocumentStore store, IProjection projection, IDaemonLogger logger, IDaemonErrorHandler errorHandler ) : System
fetcher IFetcher
store IDocumentStore
projection IProjection
logger IDaemonLogger
errorHandler IDaemonErrorHandler
Résultat System

QueuePage() public méthode

public QueuePage ( EventPage page ) : void
page EventPage
Résultat void

Rebuild() public méthode

public Rebuild ( CancellationToken token = newCancellationToken() ) : Task
token System.Threading.CancellationToken
Résultat Task

RunUntilEndOfEvents() public méthode

public RunUntilEndOfEvents ( CancellationToken token = default(CancellationToken) ) : Task
token System.Threading.CancellationToken
Résultat Task

Start() public méthode

public Start ( ) : Task
Résultat Task

Start() public méthode

public Start ( DaemonLifecycle lifecycle ) : void
lifecycle DaemonLifecycle
Résultat void

Stop() public méthode

public Stop ( ) : Task
Résultat Task

StoreProgress() public méthode

public StoreProgress ( Type viewType, EventPage page ) : Task
viewType System.Type
page EventPage
Résultat Task

WaitUntilEventIsProcessed() public méthode

public WaitUntilEventIsProcessed ( long sequence ) : Task
sequence long
Résultat Task