All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.dist.src.config.middleware.experimental-active-request-count-middleware.d.ts Maven / Gradle / Ivy

The newest version!
import { MomentoLoggerFactory } from '../../';
import { ExperimentalMetricsMiddleware } from './impl/experimental-metrics-middleware';
/**
 * This middleware enables a periodic task to emit the active request count every second as a JSON
 *
 * See `advanced.ts` in the examples directory for an example of how to set up
 * your {Configuration} to enable this middleware.
 */
export declare class ExperimentalActiveRequestCountLoggingMiddleware extends ExperimentalMetricsMiddleware {
    private isLoggingStarted;
    private readonly metricsLogInterval;
    private intervalId;
    constructor(loggerFactory: MomentoLoggerFactory);
    init(): void;
    private startLogging;
    close(): void;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy