internal RmwAsyncResult(
     FasterKV <Key, Value> fasterKV,
     ClientSession <Key, Value, Input, Output, Context, Functions> clientSession,
     PendingContext <Input, Output, Context> pendingContext, AsyncIOContext <Key, Value> diskRequest)
 {
     status           = Status.PENDING;
     output           = default;
     rmwAsyncInternal = new RmwAsyncInternal <Input, Output, Context, Functions>(fasterKV, clientSession, pendingContext, diskRequest);
 }
Example #2
0
 internal RmwAsyncResult(
     FasterKV <Key, Value> fasterKV,
     IFasterSession <Key, Value, Input, Output, Context> fasterSession,
     FasterExecutionContext <Input, Output, Context> currentCtx,
     PendingContext <Input, Output, Context> pendingContext, AsyncIOContext <Key, Value> diskRequest, ExceptionDispatchInfo exceptionDispatchInfo)
 {
     status           = Status.PENDING;
     output           = default;
     rmwAsyncInternal = new RmwAsyncInternal <Input, Output, Context>(fasterKV, fasterSession, currentCtx, pendingContext, diskRequest, exceptionDispatchInfo);
 }
 internal RmwAsyncResult(Status status, Output output)
 {
     this.status           = status;
     this.output           = output;
     this.rmwAsyncInternal = default;
 }