C# Class Platform.StreamClients.FileEventStoreClient

Inheritance: JsonEventStoreClientBase, IRawEventStoreClient
显示文件 Open project: Lokad/lokad-data-platform

Public Methods

Method Description
FileEventStoreClient ( string serverFolder, EventStoreId storeId, string serverEndpoint = null ) : System
ReadAllEvents ( EventStoreOffset startOffset, int maxRecordCount ) : IEnumerable
WriteEventsInLargeBatch ( string streamId, IEnumerable eventData ) : void

Private Methods

Method Description
PrepareStaging ( IEnumerable eventData, string location ) : long

Method Details

FileEventStoreClient() public method

public FileEventStoreClient ( string serverFolder, EventStoreId storeId, string serverEndpoint = null ) : System
serverFolder string
storeId EventStoreId
serverEndpoint string
return System

ReadAllEvents() public method

public ReadAllEvents ( EventStoreOffset startOffset, int maxRecordCount ) : IEnumerable
startOffset EventStoreOffset
maxRecordCount int
return IEnumerable

WriteEventsInLargeBatch() public method

public WriteEventsInLargeBatch ( string streamId, IEnumerable eventData ) : void
streamId string
eventData IEnumerable
return void