Search
Preparing search index...
The search index is not available
fenwick-tree-redis
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
RedisMockBackend
Class RedisMockBackend
Hierarchy
RedisHashBackend
RedisMockBackend
Implements
Backend
Index
Constructors
constructor
Properties
maximum
redis
Key
Methods
flush
Db
get
New
Redis
Client
increase
read
Constructors
constructor
new
Redis
Mock
Backend
(
redisCredentials
:
RedisCredentials
|
null
, maximum
:
IndType
, redisKey
:
string
)
:
RedisMockBackend
Parameters
redisCredentials:
RedisCredentials
|
null
maximum:
IndType
redisKey:
string
Returns
RedisMockBackend
Properties
maximum
maximum
:
IndType
redis
Key
redis
Key
:
string
Methods
flush
Db
flush
Db
(
)
:
Promise
<
void
>
Returns
Promise
<
void
>
Protected
get
New
Redis
Client
get
New
Redis
Client
(
)
:
Promise
<
RedisClient
>
Returns
Promise
<
RedisClient
>
increase
increase
(
queries
:
keyof IncreaseQuery[]
)
:
Promise
<
ReadonlyArray
<
number
|
null
>
>
Parameters
queries:
keyof IncreaseQuery[]
Returns
Promise
<
ReadonlyArray
<
number
|
null
>
>
read
read
(
queries
:
keyof IndType[]
)
:
Promise
<
keyof ValType[]
>
Parameters
queries:
keyof IndType[]
Returns
Promise
<
keyof ValType[]
>
Globals
Binary
Indexed
Tree
Increase
Query
Redis
Hash
Backend
Redis
Mock
Backend
constructor
maximum
redis
Key
flush
Db
get
New
Redis
Client
increase
read
Backend
Redis
Credentials
Ind
Type
Val
Type
REDIS_
LOCK_
ERROR
Generated using
TypeDoc