public override async Task <string> Open() { await Task.Run(() => { writer = new AzureBlockBlobWriter(CurrentUri, ExecutionTimeout, false, new PeloponneseLogger(Log.Logger)); }); bytesWritten = 0; return(null); }
public override async Task <string> Close() { await writer.CommitBlocksAsync(); if (!exceededBlockSize) { await writer.SetMetadataAsync("recordsRespectBlockBoundaries", "true"); } writer = null; return(null); }
public override async Task<string> Open() { await Task.Run(() => { writer = new AzureBlockBlobWriter(CurrentUri, ExecutionTimeout, false, new PeloponneseLogger(Log.Logger)); }); bytesWritten = 0; return null; }
public override async Task<string> Close() { await writer.CommitBlocksAsync(); if (!exceededBlockSize) { await writer.SetMetadataAsync("recordsRespectBlockBoundaries", "true"); } writer = null; return null; }