UNPKG

1.26 kBTypeScriptView Raw
1import ServerBase from "../common/ServerBase";
2import QueueConfiguration from "./QueueConfiguration";
3/**
4 * Default implementation of Azurite Blob HTTP server.
5 * This implementation provides a HTTP service based on express framework and LokiJS in memory database.
6 *
7 * We can create other blob servers by extending abstract Server class and initialize different httpServer,
8 * dataStore or requestListenerFactory fields.
9 *
10 * For example, creating a HTTPS server to accept HTTPS requests, or using other
11 * Node.js HTTP frameworks like Koa, or just using another SQL database.
12 *
13 * @export
14 * @class Server
15 */
16export default class QueueServer extends ServerBase {
17 private readonly metadataStore;
18 private readonly extentMetadataStore;
19 private readonly extentStore;
20 private readonly accountDataStore;
21 private readonly gcManager;
22 /**
23 * Creates an instance of Server.
24 *
25 * @param {BlobConfiguration} configuration
26 * @memberof Server
27 */
28 constructor(configuration?: QueueConfiguration);
29 protected beforeStart(): Promise<void>;
30 protected afterStart(): Promise<void>;
31 protected beforeClose(): Promise<void>;
32 protected afterClose(): Promise<void>;
33}
34//# sourceMappingURL=QueueServer.d.ts.map
\No newline at end of file