C# 클래스 CQRSMicroservices.ServiceFabric.QueryModelBuilderService.QueryModelBuilderService

The FabricRuntime creates an instance of this class for each service type instance.
상속: StatefulService, IQueryModelBuilderService
파일 보기 프로젝트 열기: AFASResearch/CQRS-Playground

공개 메소드들

메소드 설명
Get ( System.Guid id ) : Task
Handle ( string eventJson ) : Task

보호된 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
CreateCommunicationListener ( ServiceInitializationParameters serviceInitializationParameters ) : ICommunicationListener

Creates the communication listener.

GetQueryModelBuilder ( ) : QueryModelBuilder

메소드 상세

CreateServiceReplicaListeners() 보호된 메소드

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

Get() 공개 메소드

public Get ( System.Guid id ) : Task
id System.Guid
리턴 Task

Handle() 공개 메소드

public Handle ( string eventJson ) : Task
eventJson string
리턴 Task

RunAsync() 보호된 메소드

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.
리턴 Task