/// <inheritdoc /> protected override async Task <BoolResult> ShutdownCoreAsync(OperationContext context) { var result = await base.ShutdownCoreAsync(context); result &= await InnerSession.ShutdownAsync(context); return(result); }
/// <inheritdoc /> protected override Task <PutResult> PutFileCoreAsync(OperationContext operationContext, ContentHash contentHash, AbsolutePath path, FileRealizationMode realizationMode, UrgencyHint urgencyHint, Counter retryCounter) { return(InnerSession.PutFileAsync(operationContext, contentHash, path, realizationMode, operationContext.Token, urgencyHint)); }
/// <inheritdoc /> protected override Task <IEnumerable <Task <Indexed <PlaceFileResult> > > > PlaceFileCoreAsync(OperationContext operationContext, IReadOnlyList <ContentHashWithPath> hashesWithPaths, FileAccessMode accessMode, FileReplacementMode replacementMode, FileRealizationMode realizationMode, UrgencyHint urgencyHint, Counter retryCounter) { return(InnerSession.PlaceFileAsync(operationContext, hashesWithPaths, accessMode, replacementMode, realizationMode, operationContext.Token, urgencyHint)); }
/// <inheritdoc /> protected override Task <IEnumerable <Task <Indexed <PinResult> > > > PinCoreAsync(OperationContext operationContext, IReadOnlyList <ContentHash> contentHashes, UrgencyHint urgencyHint, Counter retryCounter, Counter fileCounter) { return(InnerSession.PinAsync(operationContext, contentHashes, operationContext.Token, urgencyHint)); }
/// <inheritdoc /> protected override Task <PinResult> PinCoreAsync(OperationContext operationContext, ContentHash contentHash, UrgencyHint urgencyHint, Counter retryCounter) { return(InnerSession.PinAsync(operationContext, contentHash, operationContext.Token, urgencyHint)); }
/// <inheritdoc /> protected override async Task <BoolResult> StartupCoreAsync(OperationContext context) { await InnerSession.StartupAsync(context).ThrowIfFailure(); return(await base.StartupCoreAsync(context)); }
/// <inheritdoc /> protected override Task <PutResult> PutStreamCoreAsync(OperationContext operationContext, HashType hashType, Stream stream, UrgencyHint urgencyHint, Counter retryCounter) { return(InnerSession.PutStreamAsync(operationContext, hashType, stream, operationContext.Token, urgencyHint)); }