C# Class CQRSMicroservices.ServiceFabric.QueryModelBuilderService.QueryModelBuilderService

The FabricRuntime creates an instance of this class for each service type instance.
Inheritance: StatefulService, IQueryModelBuilderService
Afficher le fichier Open project: AFASResearch/CQRS-Playground

Méthodes publiques

Méthode Description
Get ( System.Guid id ) : Task
Handle ( string eventJson ) : Task

Méthodes protégées

Méthode Description
CreateServiceReplicaListeners ( ) : IEnumerable

Optional override to create listeners (like tcp, http) for this service replica.

RunAsync ( CancellationToken cancellationToken ) : Task

This is the main entry point for your service's partition replica. RunAsync executes when the primary replica for this partition has write status.

Private Methods

Méthode Description
CreateCommunicationListener ( ServiceInitializationParameters serviceInitializationParameters ) : ICommunicationListener

Creates the communication listener.

GetQueryModelBuilder ( ) : QueryModelBuilder

Method Details

CreateServiceReplicaListeners() protected méthode

Optional override to create listeners (like tcp, http) for this service replica.
protected CreateServiceReplicaListeners ( ) : IEnumerable
Résultat IEnumerable

Get() public méthode

public Get ( System.Guid id ) : Task
id System.Guid
Résultat Task

Handle() public méthode

public Handle ( string eventJson ) : Task
eventJson string
Résultat Task

RunAsync() protected méthode

This is the main entry point for your service's partition replica. RunAsync executes when the primary replica for this partition has write status.
protected RunAsync ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken Canceled when Service Fabric terminates this partition's replica.
Résultat Task