@lakutata-component/cacher
Version:
Lakutata Cacher Component
16 lines (14 loc) • 515 B
text/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
}