@lakutata-component/cacher
Version:
Lakutata Cacher Component
15 lines (14 loc) • 528 B
TypeScript
import { IBaseCacheOptions } from './IBaseCacheOptions';
export interface IMemcachedCacheOptions extends IBaseCacheOptions {
readonly type: 'memcached';
readonly hosts?: string | string[];
readonly autodiscover?: boolean;
readonly backoffLimit?: number;
readonly bufferBeforeError?: number;
readonly disabled?: boolean;
readonly maxValueSize?: number;
readonly queue?: boolean;
readonly netTimeout?: number;
readonly reconnect?: boolean;
readonly onNetError?: (err: Error) => void;
}