C# Class TastyDomainDriven.File.FileAppendOnlyStoreAsync

Inheritance: IAppendOnlyAsync
Afficher le fichier Open project: jaceenet/TastyDomainDriven Class Usage Examples

Méthodes publiques

Méthode Description
Append ( string streamName, byte data, long expectedStreamVersion = -1 ) : System.Threading.Tasks.Task
Dispose ( ) : void
ExtractMasterStream ( DirectoryInfo output, IAppenderNamingPolicy namingPolicy, long afterVersion, int maxCount, bool writeIndexFile = true ) : System.Threading.Tasks.Task

Extract the masterstream to mimic the folder structure the AzureAsyncAppender

FileAppendOnlyStoreAsync ( Options options ) : System
FileAppendOnlyStoreAsync ( string path ) : System
Read ( string filename ) : List
ReadRecords ( long afterVersion, int maxCount ) : Task
ReadRecords ( string streamName, long afterVersion, int maxCount ) : Task

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
GetDefaultOptions ( string path ) : Options

Method Details

Append() public méthode

public Append ( string streamName, byte data, long expectedStreamVersion = -1 ) : System.Threading.Tasks.Task
streamName string
data byte
expectedStreamVersion long
Résultat System.Threading.Tasks.Task

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

ExtractMasterStream() public méthode

Extract the masterstream to mimic the folder structure the AzureAsyncAppender
public ExtractMasterStream ( DirectoryInfo output, IAppenderNamingPolicy namingPolicy, long afterVersion, int maxCount, bool writeIndexFile = true ) : System.Threading.Tasks.Task
output System.IO.DirectoryInfo
namingPolicy IAppenderNamingPolicy
afterVersion long
maxCount int
writeIndexFile bool
Résultat System.Threading.Tasks.Task

FileAppendOnlyStoreAsync() public méthode

public FileAppendOnlyStoreAsync ( Options options ) : System
options Options
Résultat System

FileAppendOnlyStoreAsync() public méthode

public FileAppendOnlyStoreAsync ( string path ) : System
path string
Résultat System

Read() public méthode

public Read ( string filename ) : List
filename string
Résultat List

ReadRecords() public méthode

public ReadRecords ( long afterVersion, int maxCount ) : Task
afterVersion long
maxCount int
Résultat Task

ReadRecords() public méthode

public ReadRecords ( string streamName, long afterVersion, int maxCount ) : Task
streamName string
afterVersion long
maxCount int
Résultat Task