UNPKG

ravendb

Version:
21 lines 1.27 kB
import { IDisposable } from "../../Types/Contracts.js"; import { DocumentStoreBase } from "../DocumentStoreBase.js"; import { IServerOperation, AwaitableServerOperation } from "./OperationAbstractions.js"; import { ClusterRequestExecutor } from "../../Http/ClusterRequestExecutor.js"; import { ServerWideOperationCompletionAwaiter } from "../../ServerWide/Operations/ServerWideOperationCompletionAwaiter.js"; export declare class ServerOperationExecutor implements IDisposable { private readonly _cache; private readonly _nodeTag; private readonly _store; private readonly _requestExecutor; private readonly _initialRequestExecutor; constructor(store: DocumentStoreBase); constructor(store: DocumentStoreBase, requestExecutor: ClusterRequestExecutor, initialRequestExecutor: ClusterRequestExecutor, cache: Map<string, ServerOperationExecutor>, nodeTag: string); forNode(nodeTag: string): Promise<ServerOperationExecutor>; send(operation: AwaitableServerOperation): Promise<ServerWideOperationCompletionAwaiter>; send<TResult>(operation: IServerOperation<TResult>): Promise<TResult>; dispose(): void; private _getTopology; private static _createRequestExecutor; } //# sourceMappingURL=ServerOperationExecutor.d.ts.map