|
|
@ -7,7 +7,7 @@ export default abstract class CacheMgr { |
|
|
|
seconds: number, |
|
|
|
seconds: number, |
|
|
|
): Promise<any>; |
|
|
|
): Promise<any>; |
|
|
|
public abstract incrby(key: string, value: number): Promise<any>; |
|
|
|
public abstract incrby(key: string, value: number): Promise<any>; |
|
|
|
public abstract del(key: string): Promise<any>; |
|
|
|
public abstract del(key: string[] | string): Promise<any>; |
|
|
|
public abstract delAll(scope: string, pattern: string): Promise<any[]>; |
|
|
|
public abstract delAll(scope: string, pattern: string): Promise<any[]>; |
|
|
|
public abstract getList( |
|
|
|
public abstract getList( |
|
|
|
scope: string, |
|
|
|
scope: string, |
|
|
|