k2hdkc 1.0.13 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/binding.gyp +40 -0
- package/build/cjs/index.js +285 -0
- package/build/esm/index.js +282 -0
- package/buildutils/make_node_prebuild_variables.sh +361 -0
- package/buildutils/node_prebuild.sh +373 -0
- package/buildutils/node_prebuild_install.sh +309 -0
- package/index.js +4 -1
- package/index.mjs +149 -0
- package/package.json +74 -18
- package/src/index.ts +367 -0
- package/src/k2hdkc.cc +21 -8
- package/src/k2hdkc_cbs.cc +27 -41
- package/src/k2hdkc_cbs.h +15 -11
- package/src/k2hdkc_common.h +3 -3
- package/src/k2hdkc_node.cc +1889 -1655
- package/src/k2hdkc_node.h +69 -63
- package/src/k2hdkc_node_async.h +1020 -932
- package/types/index.d.ts +1258 -0
- package/ChangeLog +0 -138
- package/src/binding.gyp +0 -69
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,1258 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* K2HDKC
|
|
3
|
+
*
|
|
4
|
+
* Copyright 2017 Yahoo Japan Corporation.
|
|
5
|
+
*
|
|
6
|
+
* K2HDKC is k2hash based distributed KVS cluster.
|
|
7
|
+
* K2HDKC uses K2HASH, CHMPX, FULLOCK libraries. K2HDKC supports
|
|
8
|
+
* distributed KVS cluster server program and client libraries.
|
|
9
|
+
*
|
|
10
|
+
* For the full copyright and license information, please view
|
|
11
|
+
* the license file that was distributed with this source code.
|
|
12
|
+
*
|
|
13
|
+
* AUTHOR: Takeshi Nakatani
|
|
14
|
+
* CREATE: Fri 9 Nov 2018
|
|
15
|
+
* REVISION:
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
//-------------------------------------------------------------
|
|
19
|
+
// This uses 'export' to be compatible with CommonJS consumers:
|
|
20
|
+
// const k2hdkc = require('k2hdkc');
|
|
21
|
+
//
|
|
22
|
+
// And works for ESM consumers with default import:
|
|
23
|
+
// import k2hdkc from 'k2hdkc';
|
|
24
|
+
//-------------------------------------------------------------
|
|
25
|
+
|
|
26
|
+
//
|
|
27
|
+
// callable / constructible main factory
|
|
28
|
+
//
|
|
29
|
+
declare function k2hdkc(): k2hdkc.K2hdkcNode;
|
|
30
|
+
|
|
31
|
+
declare namespace k2hdkc
|
|
32
|
+
{
|
|
33
|
+
//---------------------------------------------------------
|
|
34
|
+
// Callback types for K2hdkcNode
|
|
35
|
+
//---------------------------------------------------------
|
|
36
|
+
// [NOTE]
|
|
37
|
+
// We allow Error in case it might be changed to an Error object
|
|
38
|
+
// in the future, but currently we do not return Error.
|
|
39
|
+
//
|
|
40
|
+
export type K2hdkcInitCallback = (err?: Error | string | null) => void;
|
|
41
|
+
export type K2hdkcGetValueCallback = (err?: Error | string | null, value?: string | null) => void;
|
|
42
|
+
export type K2hdkcGetSubkeysCallback = (err?: Error | string | null, subkeys?: string[]) => void;
|
|
43
|
+
export type K2hdkcGetAttrsCallback = (err?: Error | string | null, attribute_keys?: string[]) => void;
|
|
44
|
+
export type K2hdkcSetValueCallback = (err?: Error | string | null) => void;
|
|
45
|
+
export type K2hdkcSetSubkeysCallback = (err?: Error | string | null) => void;
|
|
46
|
+
export type K2hdkcSetAllCallback = (err?: Error | string | null) => void;
|
|
47
|
+
export type K2hdkcRemoveCallback = (err?: Error | string | null) => void;
|
|
48
|
+
export type K2hdkcRenameCallback = (err?: Error | string | null) => void;
|
|
49
|
+
export type K2hdkcQueuePushCallback = (err?: Error | string | null) => void;
|
|
50
|
+
export type K2hdkcQueuePopCallback = (err?: Error | string | null, data1?: string | null, data2?: string | null) => void;
|
|
51
|
+
export type K2hdkcQueueRemoveCallback = (err?: Error | string | null) => void;
|
|
52
|
+
export type K2hdkcCasInitCallback = (err?: Error | string | null) => void;
|
|
53
|
+
export type K2hdkcCasGetCallback = (err?: Error | string | null, value?: number) => void;
|
|
54
|
+
export type K2hdkcCasSetCallback = (err?: Error | string | null) => void;
|
|
55
|
+
export type K2hdkcCasIncDecCallback = (err?: Error | string | null) => void;
|
|
56
|
+
|
|
57
|
+
//---------------------------------------------------------
|
|
58
|
+
// Emitter callback types for K2hdkcNode
|
|
59
|
+
//---------------------------------------------------------
|
|
60
|
+
export type OnK2hdkcEmitterCallback = (err?: string | null, ...args: any[]) => void;
|
|
61
|
+
export type OnK2hdkcInitEmitterCallback = (err?: Error | string | null) => void;
|
|
62
|
+
export type OnK2hdkcGetValueEmitterCallback = (err?: Error | string | null, value?: string | null) => void;
|
|
63
|
+
export type OnK2hdkcGetSubkeysEmitterCallback = (err?: Error | string | null, subkeys?: string[]) => void;
|
|
64
|
+
export type OnK2hdkcGetAttrsEmitterCallback = (err?: Error | string | null, attribute_keys?: string[]) => void;
|
|
65
|
+
export type OnK2hdkcSetValueEmitterCallback = (err?: Error | string | null) => void;
|
|
66
|
+
export type OnK2hdkcSetSubkeysEmitterCallback = (err?: Error | string | null) => void;
|
|
67
|
+
export type OnK2hdkcSetAllEmitterCallback = (err?: Error | string | null) => void;
|
|
68
|
+
export type OnK2hdkcRemoveEmitterCallback = (err?: Error | string | null) => void;
|
|
69
|
+
export type OnK2hdkcRenameEmitterCallback = (err?: Error | string | null) => void;
|
|
70
|
+
export type OnK2hdkcQueuePushEmitterCallback = (err?: Error | string | null) => void;
|
|
71
|
+
export type OnK2hdkcQueuePopEmitterCallback = (err?: Error | string | null, data1?: string | null, data2?: string | null) => void;
|
|
72
|
+
export type OnK2hdkcQueueRemoveEmitterCallback = (err?: Error | string | null) => void;
|
|
73
|
+
export type OnK2hdkcCasInitEmitterCallback = (err?: Error | string | null) => void;
|
|
74
|
+
export type OnK2hdkcCasGetEmitterCallback = (err?: Error | string | null, value?: number) => void;
|
|
75
|
+
export type OnK2hdkcCasSetEmitterCallback = (err?: Error | string | null) => void;
|
|
76
|
+
export type OnK2hdkcCasIncDecEmitterCallback = (err?: Error | string | null) => void;
|
|
77
|
+
|
|
78
|
+
//---------------------------------------------------------
|
|
79
|
+
// K2hdkcNode Class
|
|
80
|
+
//---------------------------------------------------------
|
|
81
|
+
export class K2hdkcNode
|
|
82
|
+
{
|
|
83
|
+
// Constructor
|
|
84
|
+
constructor(); // always no arguments
|
|
85
|
+
|
|
86
|
+
//-----------------------------------------------------
|
|
87
|
+
// Methods (Callback can be called)
|
|
88
|
+
//-----------------------------------------------------
|
|
89
|
+
// initialize on server
|
|
90
|
+
init(conf: string, cb?: K2hdkcInitCallback): boolean;
|
|
91
|
+
init(conf: string, port: number, cb?: K2hdkcInitCallback): boolean;
|
|
92
|
+
init(conf: string, port: number, cuk: string | null, cb?: K2hdkcInitCallback): boolean;
|
|
93
|
+
init(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, cb?: K2hdkcInitCallback): boolean;
|
|
94
|
+
init(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, cb?: K2hdkcInitCallback): boolean;
|
|
95
|
+
|
|
96
|
+
// get
|
|
97
|
+
getValue(key: string, cb: K2hdkcGetValueCallback): boolean;
|
|
98
|
+
getValue(conf: string, key: string, cb: K2hdkcGetValueCallback): boolean;
|
|
99
|
+
getValue(conf: string, port: number, key: string, cb: K2hdkcGetValueCallback): boolean;
|
|
100
|
+
getValue(conf: string, port: number, cuk: string | null, key: string, cb: K2hdkcGetValueCallback): boolean;
|
|
101
|
+
getValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, cb: K2hdkcGetValueCallback): boolean;
|
|
102
|
+
getValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, cb: K2hdkcGetValueCallback): boolean;
|
|
103
|
+
|
|
104
|
+
getValue(key: string, subkey: string | null, cb: K2hdkcGetValueCallback): boolean;
|
|
105
|
+
getValue(conf: string, key: string, subkey: string | null, cb: K2hdkcGetValueCallback): boolean;
|
|
106
|
+
getValue(conf: string, port: number, key: string, subkey: string | null, cb: K2hdkcGetValueCallback): boolean;
|
|
107
|
+
getValue(conf: string, port: number, cuk: string | null, key: string, subkey: string | null, cb: K2hdkcGetValueCallback): boolean;
|
|
108
|
+
getValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, subkey: string | null, cb: K2hdkcGetValueCallback): boolean;
|
|
109
|
+
getValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, subkey: string | null, cb: K2hdkcGetValueCallback): boolean;
|
|
110
|
+
|
|
111
|
+
getValue(key: string, subkey: string | null, attrcheck: boolean, cb: K2hdkcGetValueCallback): boolean;
|
|
112
|
+
getValue(conf: string, key: string, subkey: string | null, attrcheck: boolean, cb: K2hdkcGetValueCallback): boolean;
|
|
113
|
+
getValue(conf: string, port: number, key: string, subkey: string | null, attrcheck: boolean, cb: K2hdkcGetValueCallback): boolean;
|
|
114
|
+
getValue(conf: string, port: number, cuk: string | null, key: string, subkey: string | null, attrcheck: boolean, cb: K2hdkcGetValueCallback): boolean;
|
|
115
|
+
getValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, subkey: string | null, attrcheck: boolean, cb: K2hdkcGetValueCallback): boolean;
|
|
116
|
+
getValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, subkey: string | null, attrcheck: boolean, cb: K2hdkcGetValueCallback): boolean;
|
|
117
|
+
|
|
118
|
+
getValue(key: string, subkey: string | null, attrcheck: boolean, pass: string | null, cb: K2hdkcGetValueCallback): boolean;
|
|
119
|
+
getValue(conf: string, key: string, subkey: string | null, attrcheck: boolean, pass: string | null, cb: K2hdkcGetValueCallback): boolean;
|
|
120
|
+
getValue(conf: string, port: number, key: string, subkey: string | null, attrcheck: boolean, pass: string | null, cb: K2hdkcGetValueCallback): boolean;
|
|
121
|
+
getValue(conf: string, port: number, cuk: string | null, key: string, subkey: string | null, attrcheck: boolean, pass: string | null, cb: K2hdkcGetValueCallback): boolean;
|
|
122
|
+
getValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, subkey: string | null, attrcheck: boolean, pass: string | null, cb: K2hdkcGetValueCallback): boolean;
|
|
123
|
+
getValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, subkey: string | null, attrcheck: boolean, pass: string | null, cb: K2hdkcGetValueCallback): boolean;
|
|
124
|
+
|
|
125
|
+
// get subkeys
|
|
126
|
+
getSubkeys(key: string, cb: K2hdkcGetSubkeysCallback): boolean;
|
|
127
|
+
getSubkeys(conf: string, key: string, cb: K2hdkcGetSubkeysCallback): boolean;
|
|
128
|
+
getSubkeys(conf: string, port: number, key: string, cb: K2hdkcGetSubkeysCallback): boolean;
|
|
129
|
+
getSubkeys(conf: string, port: number, cuk: string | null, key: string, cb: K2hdkcGetSubkeysCallback): boolean;
|
|
130
|
+
getSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, cb: K2hdkcGetSubkeysCallback): boolean;
|
|
131
|
+
getSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, cb: K2hdkcGetSubkeysCallback): boolean;
|
|
132
|
+
|
|
133
|
+
getSubkeys(key: string, attrcheck: boolean, cb: K2hdkcGetSubkeysCallback): boolean;
|
|
134
|
+
getSubkeys(conf: string, key: string, attrcheck: boolean, cb: K2hdkcGetSubkeysCallback): boolean;
|
|
135
|
+
getSubkeys(conf: string, port: number, key: string, attrcheck: boolean, cb: K2hdkcGetSubkeysCallback): boolean;
|
|
136
|
+
getSubkeys(conf: string, port: number, cuk: string | null, key: string, attrcheck: boolean, cb: K2hdkcGetSubkeysCallback): boolean;
|
|
137
|
+
getSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, attrcheck: boolean, cb: K2hdkcGetSubkeysCallback): boolean;
|
|
138
|
+
getSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, attrcheck: boolean, cb: K2hdkcGetSubkeysCallback): boolean;
|
|
139
|
+
|
|
140
|
+
// get attrs
|
|
141
|
+
getAttrs(key: string, cb: K2hdkcGetAttrsCallback): boolean;
|
|
142
|
+
getAttrs(conf: string, key: string, cb: K2hdkcGetAttrsCallback): boolean;
|
|
143
|
+
getAttrs(conf: string, port: number, key: string, cb: K2hdkcGetAttrsCallback): boolean;
|
|
144
|
+
getAttrs(conf: string, port: number, cuk: string | null, key: string, cb: K2hdkcGetAttrsCallback): boolean;
|
|
145
|
+
getAttrs(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, cb: K2hdkcGetAttrsCallback): boolean;
|
|
146
|
+
getAttrs(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, cb: K2hdkcGetAttrsCallback): boolean;
|
|
147
|
+
|
|
148
|
+
// set value
|
|
149
|
+
setValue(key: string, cb: K2hdkcSetValueCallback): boolean;
|
|
150
|
+
setValue(conf: string, key: string, cb: K2hdkcSetValueCallback): boolean;
|
|
151
|
+
setValue(conf: string, port: number, key: string, cb: K2hdkcSetValueCallback): boolean;
|
|
152
|
+
setValue(conf: string, port: number, cuk: string | null, key: string, cb: K2hdkcSetValueCallback): boolean;
|
|
153
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, cb: K2hdkcSetValueCallback): boolean;
|
|
154
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, cb: K2hdkcSetValueCallback): boolean;
|
|
155
|
+
|
|
156
|
+
setValue(key: string, value: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
157
|
+
setValue(conf: string, key: string, value: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
158
|
+
setValue(conf: string, port: number, key: string, value: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
159
|
+
setValue(conf: string, port: number, cuk: string | null, key: string, value: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
160
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
161
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
162
|
+
|
|
163
|
+
setValue(key: string, value: string | null, subkey: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
164
|
+
setValue(conf: string, key: string, value: string | null, subkey: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
165
|
+
setValue(conf: string, port: number, key: string, value: string | null, subkey: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
166
|
+
setValue(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkey: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
167
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkey: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
168
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkey: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
169
|
+
|
|
170
|
+
setValue(key: string, value: string | null, subkey: string | null, pass: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
171
|
+
setValue(conf: string, key: string, value: string | null, subkey: string | null, pass: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
172
|
+
setValue(conf: string, port: number, key: string, value: string | null, subkey: string | null, pass: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
173
|
+
setValue(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkey: string | null, pass: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
174
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkey: string | null, pass: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
175
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkey: string | null, pass: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
176
|
+
|
|
177
|
+
setValue(key: string, value: string | null, subkey: string | null, pass: string | null, expire: number, cb: K2hdkcSetValueCallback): boolean;
|
|
178
|
+
setValue(conf: string, key: string, value: string | null, subkey: string | null, pass: string | null, expire: number, cb: K2hdkcSetValueCallback): boolean;
|
|
179
|
+
setValue(conf: string, port: number, key: string, value: string | null, subkey: string | null, pass: string | null, expire: number, cb: K2hdkcSetValueCallback): boolean;
|
|
180
|
+
setValue(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkey: string | null, pass: string | null, expire: number, cb: K2hdkcSetValueCallback): boolean;
|
|
181
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkey: string | null, pass: string | null, expire: number, cb: K2hdkcSetValueCallback): boolean;
|
|
182
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkey: string | null, pass: string | null, expire: number, cb: K2hdkcSetValueCallback): boolean;
|
|
183
|
+
|
|
184
|
+
// set subkeys
|
|
185
|
+
setSubkeys(key: string, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
186
|
+
setSubkeys(conf: string, key: string, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
187
|
+
setSubkeys(conf: string, port: number, key: string, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
188
|
+
setSubkeys(conf: string, port: number, cuk: string | null, key: string, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
189
|
+
setSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
190
|
+
setSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
191
|
+
|
|
192
|
+
setSubkeys(key: string, subkeys: string[] | null, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
193
|
+
setSubkeys(conf: string, key: string, subkeys: string[] | null, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
194
|
+
setSubkeys(conf: string, port: number, key: string, subkeys: string[] | null, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
195
|
+
setSubkeys(conf: string, port: number, cuk: string | null, key: string, subkeys: string[] | null, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
196
|
+
setSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, subkeys: string[] | null, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
197
|
+
setSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, subkeys: string[] | null, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
198
|
+
|
|
199
|
+
// add subkey (NOTE: callback function type is K2hdkcSetValueCallback)
|
|
200
|
+
addSubkey(key: string, value: string | null, subkey: string, cb: K2hdkcSetValueCallback): boolean;
|
|
201
|
+
addSubkey(conf: string, key: string, value: string | null, subkey: string, cb: K2hdkcSetValueCallback): boolean;
|
|
202
|
+
addSubkey(conf: string, port: number, key: string, value: string | null, subkey: string, cb: K2hdkcSetValueCallback): boolean;
|
|
203
|
+
addSubkey(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkey: string, cb: K2hdkcSetValueCallback): boolean;
|
|
204
|
+
addSubkey(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkey: string, cb: K2hdkcSetValueCallback): boolean;
|
|
205
|
+
addSubkey(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkey: string, cb: K2hdkcSetValueCallback): boolean;
|
|
206
|
+
|
|
207
|
+
addSubkey(key: string, value: string | null, subkey: string, pass: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
208
|
+
addSubkey(conf: string, key: string, value: string | null, subkey: string, pass: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
209
|
+
addSubkey(conf: string, port: number, key: string, value: string | null, subkey: string, pass: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
210
|
+
addSubkey(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkey: string, pass: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
211
|
+
addSubkey(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkey: string, pass: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
212
|
+
addSubkey(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkey: string, pass: string | null, cb: K2hdkcSetValueCallback): boolean;
|
|
213
|
+
|
|
214
|
+
addSubkey(key: string, value: string | null, subkey: string, pass: string | null, expire: number, cb: K2hdkcSetValueCallback): boolean;
|
|
215
|
+
addSubkey(conf: string, key: string, value: string | null, subkey: string, pass: string | null, expire: number, cb: K2hdkcSetValueCallback): boolean;
|
|
216
|
+
addSubkey(conf: string, port: number, key: string, value: string | null, subkey: string, pass: string | null, expire: number, cb: K2hdkcSetValueCallback): boolean;
|
|
217
|
+
addSubkey(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkey: string, pass: string | null, expire: number, cb: K2hdkcSetValueCallback): boolean;
|
|
218
|
+
addSubkey(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkey: string, pass: string | null, expire: number, cb: K2hdkcSetValueCallback): boolean;
|
|
219
|
+
addSubkey(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkey: string, pass: string | null, expire: number, cb: K2hdkcSetValueCallback): boolean;
|
|
220
|
+
|
|
221
|
+
// clear subkeys (NOTE: callback function type is K2hdkcSetSubkeysCallback)
|
|
222
|
+
clearSubkeys(key: string, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
223
|
+
clearSubkeys(conf: string, key: string, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
224
|
+
clearSubkeys(conf: string, port: number, key: string, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
225
|
+
clearSubkeys(conf: string, port: number, cuk: string | null, key: string, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
226
|
+
clearSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
227
|
+
clearSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, cb: K2hdkcSetSubkeysCallback): boolean;
|
|
228
|
+
|
|
229
|
+
// set all
|
|
230
|
+
setAll(key: string, cb: K2hdkcSetAllCallback): boolean;
|
|
231
|
+
setAll(conf: string, key: string, cb: K2hdkcSetAllCallback): boolean;
|
|
232
|
+
setAll(conf: string, port: number, key: string, cb: K2hdkcSetAllCallback): boolean;
|
|
233
|
+
setAll(conf: string, port: number, cuk: string | null, key: string, cb: K2hdkcSetAllCallback): boolean;
|
|
234
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, cb: K2hdkcSetAllCallback): boolean;
|
|
235
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, cb: K2hdkcSetAllCallback): boolean;
|
|
236
|
+
|
|
237
|
+
setAll(key: string, value: string | null, cb: K2hdkcSetAllCallback): boolean;
|
|
238
|
+
setAll(conf: string, key: string, value: string | null, cb: K2hdkcSetAllCallback): boolean;
|
|
239
|
+
setAll(conf: string, port: number, key: string, value: string | null, cb: K2hdkcSetAllCallback): boolean;
|
|
240
|
+
setAll(conf: string, port: number, cuk: string | null, key: string, value: string | null, cb: K2hdkcSetAllCallback): boolean;
|
|
241
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, cb: K2hdkcSetAllCallback): boolean;
|
|
242
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, cb: K2hdkcSetAllCallback): boolean;
|
|
243
|
+
|
|
244
|
+
setAll(key: string, value: string | null, subkeys: string[] | null, cb: K2hdkcSetAllCallback): boolean;
|
|
245
|
+
setAll(conf: string, key: string, value: string | null, subkeys: string[] | null, cb: K2hdkcSetAllCallback): boolean;
|
|
246
|
+
setAll(conf: string, port: number, key: string, value: string | null, subkeys: string[] | null, cb: K2hdkcSetAllCallback): boolean;
|
|
247
|
+
setAll(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkeys: string[] | null, cb: K2hdkcSetAllCallback): boolean;
|
|
248
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkeys: string[] | null, cb: K2hdkcSetAllCallback): boolean;
|
|
249
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkeys: string[] | null, cb: K2hdkcSetAllCallback): boolean;
|
|
250
|
+
|
|
251
|
+
setAll(key: string, value: string | null, subkeys: string[] | null, pass: string | null, cb: K2hdkcSetAllCallback): boolean;
|
|
252
|
+
setAll(conf: string, key: string, value: string | null, subkeys: string[] | null, pass: string | null, cb: K2hdkcSetAllCallback): boolean;
|
|
253
|
+
setAll(conf: string, port: number, key: string, value: string | null, subkeys: string[] | null, pass: string | null, cb: K2hdkcSetAllCallback): boolean;
|
|
254
|
+
setAll(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkeys: string[] | null, pass: string | null, cb: K2hdkcSetAllCallback): boolean;
|
|
255
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkeys: string[] | null, pass: string | null, cb: K2hdkcSetAllCallback): boolean;
|
|
256
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkeys: string[] | null, pass: string | null, cb: K2hdkcSetAllCallback): boolean;
|
|
257
|
+
|
|
258
|
+
setAll(key: string, value: string | null, subkeys: string[] | null, pass: string | null, expire: number, cb: K2hdkcSetAllCallback): boolean;
|
|
259
|
+
setAll(conf: string, key: string, value: string | null, subkeys: string[] | null, pass: string | null, expire: number, cb: K2hdkcSetAllCallback): boolean;
|
|
260
|
+
setAll(conf: string, port: number, key: string, value: string | null, subkeys: string[] | null, pass: string | null, expire: number, cb: K2hdkcSetAllCallback): boolean;
|
|
261
|
+
setAll(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkeys: string[] | null, pass: string | null, expire: number, cb: K2hdkcSetAllCallback): boolean;
|
|
262
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkeys: string[] | null, pass: string | null, expire: number, cb: K2hdkcSetAllCallback): boolean;
|
|
263
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkeys: string[] | null, pass: string | null, expire: number, cb: K2hdkcSetAllCallback): boolean;
|
|
264
|
+
|
|
265
|
+
// remove
|
|
266
|
+
remove(key: string, cb: K2hdkcRemoveCallback): boolean;
|
|
267
|
+
remove(conf: string, key: string, cb: K2hdkcRemoveCallback): boolean;
|
|
268
|
+
remove(conf: string, port: number, key: string, cb: K2hdkcRemoveCallback): boolean;
|
|
269
|
+
remove(conf: string, port: number, cuk: string | null, key: string, cb: K2hdkcRemoveCallback): boolean;
|
|
270
|
+
remove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, cb: K2hdkcRemoveCallback): boolean;
|
|
271
|
+
remove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, cb: K2hdkcRemoveCallback): boolean;
|
|
272
|
+
|
|
273
|
+
remove(key: string, is_del_subkeys: boolean, cb: K2hdkcRemoveCallback): boolean;
|
|
274
|
+
remove(conf: string, key: string, is_del_subkeys: boolean, cb: K2hdkcRemoveCallback): boolean;
|
|
275
|
+
remove(conf: string, port: number, key: string, is_del_subkeys: boolean, cb: K2hdkcRemoveCallback): boolean;
|
|
276
|
+
remove(conf: string, port: number, cuk: string | null, key: string, is_del_subkeys: boolean, cb: K2hdkcRemoveCallback): boolean;
|
|
277
|
+
remove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, is_del_subkeys: boolean, cb: K2hdkcRemoveCallback): boolean;
|
|
278
|
+
remove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, is_del_subkeys: boolean, cb: K2hdkcRemoveCallback): boolean;
|
|
279
|
+
|
|
280
|
+
// rename
|
|
281
|
+
rename(oldkey: string, newkey: string, cb: K2hdkcRenameCallback): boolean;
|
|
282
|
+
rename(conf: string, oldkey: string, newkey: string, cb: K2hdkcRenameCallback): boolean;
|
|
283
|
+
rename(conf: string, port: number, oldkey: string, newkey: string, cb: K2hdkcRenameCallback): boolean;
|
|
284
|
+
rename(conf: string, port: number, cuk: string | null, oldkey: string, newkey: string, cb: K2hdkcRenameCallback): boolean;
|
|
285
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, oldkey: string, newkey: string, cb: K2hdkcRenameCallback): boolean;
|
|
286
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, oldkey: string, newkey: string, cb: K2hdkcRenameCallback): boolean;
|
|
287
|
+
|
|
288
|
+
rename(oldkey: string, newkey: string, parentkey: string | null, cb: K2hdkcRenameCallback): boolean;
|
|
289
|
+
rename(conf: string, oldkey: string, newkey: string, parentkey: string | null, cb: K2hdkcRenameCallback): boolean;
|
|
290
|
+
rename(conf: string, port: number, oldkey: string, newkey: string, parentkey: string | null, cb: K2hdkcRenameCallback): boolean;
|
|
291
|
+
rename(conf: string, port: number, cuk: string | null, oldkey: string, newkey: string, parentkey: string | null, cb: K2hdkcRenameCallback): boolean;
|
|
292
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, oldkey: string, newkey: string, parentkey: string | null, cb: K2hdkcRenameCallback): boolean;
|
|
293
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, oldkey: string, newkey: string, parentkey: string | null, cb: K2hdkcRenameCallback): boolean;
|
|
294
|
+
|
|
295
|
+
rename(oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, cb: K2hdkcRenameCallback): boolean;
|
|
296
|
+
rename(conf: string, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, cb: K2hdkcRenameCallback): boolean;
|
|
297
|
+
rename(conf: string, port: number, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, cb: K2hdkcRenameCallback): boolean;
|
|
298
|
+
rename(conf: string, port: number, cuk: string | null, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, cb: K2hdkcRenameCallback): boolean;
|
|
299
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, cb: K2hdkcRenameCallback): boolean;
|
|
300
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, cb: K2hdkcRenameCallback): boolean;
|
|
301
|
+
|
|
302
|
+
rename(oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, cb: K2hdkcRenameCallback): boolean;
|
|
303
|
+
rename(conf: string, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, cb: K2hdkcRenameCallback): boolean;
|
|
304
|
+
rename(conf: string, port: number, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, cb: K2hdkcRenameCallback): boolean;
|
|
305
|
+
rename(conf: string, port: number, cuk: string | null, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, cb: K2hdkcRenameCallback): boolean;
|
|
306
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, cb: K2hdkcRenameCallback): boolean;
|
|
307
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, cb: K2hdkcRenameCallback): boolean;
|
|
308
|
+
|
|
309
|
+
rename(oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcRenameCallback): boolean;
|
|
310
|
+
rename(conf: string, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcRenameCallback): boolean;
|
|
311
|
+
rename(conf: string, port: number, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcRenameCallback): boolean;
|
|
312
|
+
rename(conf: string, port: number, cuk: string | null, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcRenameCallback): boolean;
|
|
313
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcRenameCallback): boolean;
|
|
314
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcRenameCallback): boolean;
|
|
315
|
+
|
|
316
|
+
// queue push
|
|
317
|
+
queuePush(prefix: string, key: string, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
318
|
+
queuePush(conf: string, prefix: string, key: string, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
319
|
+
queuePush(conf: string, port: number, prefix: string, key: string, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
320
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: string, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
321
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: string, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
322
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: string, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
323
|
+
|
|
324
|
+
queuePush(prefix: string, key: string, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
325
|
+
queuePush(conf: string, prefix: string, key: string, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
326
|
+
queuePush(conf: string, port: number, prefix: string, key: string, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
327
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: string, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
328
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: string, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
329
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: string, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
330
|
+
|
|
331
|
+
queuePush(prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
332
|
+
queuePush(conf: string, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
333
|
+
queuePush(conf: string, port: number, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
334
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
335
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
336
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
337
|
+
|
|
338
|
+
queuePush(prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
339
|
+
queuePush(conf: string, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
340
|
+
queuePush(conf: string, port: number, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
341
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
342
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
343
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
344
|
+
|
|
345
|
+
queuePush(prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
346
|
+
queuePush(conf: string, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
347
|
+
queuePush(conf: string, port: number, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
348
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
349
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
350
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
351
|
+
|
|
352
|
+
queuePush(prefix: string, key: null, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
353
|
+
queuePush(conf: string, prefix: string, key: null, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
354
|
+
queuePush(conf: string, port: number, prefix: string, key: null, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
355
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: null, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
356
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: null, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
357
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: null, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
358
|
+
|
|
359
|
+
queuePush(prefix: string, key: null, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
360
|
+
queuePush(conf: string, prefix: string, key: null, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
361
|
+
queuePush(conf: string, port: number, prefix: string, key: null, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
362
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: null, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
363
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: null, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
364
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: null, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
365
|
+
|
|
366
|
+
queuePush(prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
367
|
+
queuePush(conf: string, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
368
|
+
queuePush(conf: string, port: number, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
369
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
370
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
371
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
372
|
+
|
|
373
|
+
queuePush(prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
374
|
+
queuePush(conf: string, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
375
|
+
queuePush(conf: string, port: number, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
376
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
377
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
378
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
379
|
+
|
|
380
|
+
queuePush(prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
381
|
+
queuePush(conf: string, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
382
|
+
queuePush(conf: string, port: number, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
383
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
384
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
385
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
386
|
+
|
|
387
|
+
queuePush(prefix: string, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
388
|
+
queuePush(conf: string, prefix: string, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
389
|
+
queuePush(conf: string, port: number, prefix: string, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
390
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
391
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
392
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, val: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
393
|
+
|
|
394
|
+
queuePush(prefix: string, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
395
|
+
queuePush(conf: string, prefix: string, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
396
|
+
queuePush(conf: string, port: number, prefix: string, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
397
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
398
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
399
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, val: string | null, is_fifo: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
400
|
+
|
|
401
|
+
queuePush(prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
402
|
+
queuePush(conf: string, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
403
|
+
queuePush(conf: string, port: number, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
404
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
405
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
406
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, cb: K2hdkcQueuePushCallback): boolean;
|
|
407
|
+
|
|
408
|
+
queuePush(prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
409
|
+
queuePush(conf: string, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
410
|
+
queuePush(conf: string, port: number, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
411
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
412
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
413
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, cb: K2hdkcQueuePushCallback): boolean;
|
|
414
|
+
|
|
415
|
+
queuePush(prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
416
|
+
queuePush(conf: string, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
417
|
+
queuePush(conf: string, port: number, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
418
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
419
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
420
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number, cb: K2hdkcQueuePushCallback): boolean;
|
|
421
|
+
|
|
422
|
+
// queue pop
|
|
423
|
+
queuePop(prefix: string, cb: K2hdkcQueuePopCallback): boolean;
|
|
424
|
+
queuePop(conf: string, prefix: string, cb: K2hdkcQueuePopCallback): boolean;
|
|
425
|
+
queuePop(conf: string, port: number, prefix: string, cb: K2hdkcQueuePopCallback): boolean;
|
|
426
|
+
queuePop(conf: string, port: number, cuk: string | null, prefix: string, cb: K2hdkcQueuePopCallback): boolean;
|
|
427
|
+
queuePop(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, cb: K2hdkcQueuePopCallback): boolean;
|
|
428
|
+
queuePop(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, cb: K2hdkcQueuePopCallback): boolean;
|
|
429
|
+
|
|
430
|
+
queuePop(prefix: string, is_fifo: boolean, cb: K2hdkcQueuePopCallback): boolean;
|
|
431
|
+
queuePop(conf: string, prefix: string, is_fifo: boolean, cb: K2hdkcQueuePopCallback): boolean;
|
|
432
|
+
queuePop(conf: string, port: number, prefix: string, is_fifo: boolean, cb: K2hdkcQueuePopCallback): boolean;
|
|
433
|
+
queuePop(conf: string, port: number, cuk: string | null, prefix: string, is_fifo: boolean, cb: K2hdkcQueuePopCallback): boolean;
|
|
434
|
+
queuePop(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, is_fifo: boolean, cb: K2hdkcQueuePopCallback): boolean;
|
|
435
|
+
queuePop(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, is_fifo: boolean, cb: K2hdkcQueuePopCallback): boolean;
|
|
436
|
+
|
|
437
|
+
queuePop(prefix: string, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueuePopCallback): boolean;
|
|
438
|
+
queuePop(conf: string, prefix: string, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueuePopCallback): boolean;
|
|
439
|
+
queuePop(conf: string, port: number, prefix: string, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueuePopCallback): boolean;
|
|
440
|
+
queuePop(conf: string, port: number, cuk: string | null, prefix: string, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueuePopCallback): boolean;
|
|
441
|
+
queuePop(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueuePopCallback): boolean;
|
|
442
|
+
queuePop(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueuePopCallback): boolean;
|
|
443
|
+
|
|
444
|
+
queuePop(prefix: string, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueuePopCallback): boolean;
|
|
445
|
+
queuePop(conf: string, prefix: string, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueuePopCallback): boolean;
|
|
446
|
+
queuePop(conf: string, port: number, prefix: string, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueuePopCallback): boolean;
|
|
447
|
+
queuePop(conf: string, port: number, cuk: string | null, prefix: string, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueuePopCallback): boolean;
|
|
448
|
+
queuePop(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueuePopCallback): boolean;
|
|
449
|
+
queuePop(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueuePopCallback): boolean;
|
|
450
|
+
|
|
451
|
+
// queue remove
|
|
452
|
+
queueRemove(prefix: string, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
453
|
+
queueRemove(conf: string, prefix: string, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
454
|
+
queueRemove(conf: string, port: number, prefix: string, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
455
|
+
queueRemove(conf: string, port: number, cuk: string | null, prefix: string, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
456
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
457
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
458
|
+
|
|
459
|
+
queueRemove(prefix: string, count: number, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
460
|
+
queueRemove(conf: string, prefix: string, count: number, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
461
|
+
queueRemove(conf: string, port: number, prefix: string, count: number, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
462
|
+
queueRemove(conf: string, port: number, cuk: string | null, prefix: string, count: number, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
463
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, count: number, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
464
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, count: number, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
465
|
+
|
|
466
|
+
queueRemove(prefix: string, count: number, is_fifo: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
467
|
+
queueRemove(conf: string, prefix: string, count: number, is_fifo: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
468
|
+
queueRemove(conf: string, port: number, prefix: string, count: number, is_fifo: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
469
|
+
queueRemove(conf: string, port: number, cuk: string | null, prefix: string, count: number, is_fifo: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
470
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
471
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
472
|
+
|
|
473
|
+
queueRemove(prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
474
|
+
queueRemove(conf: string, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
475
|
+
queueRemove(conf: string, port: number, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
476
|
+
queueRemove(conf: string, port: number, cuk: string | null, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
477
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
478
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
479
|
+
|
|
480
|
+
queueRemove(prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
481
|
+
queueRemove(conf: string, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
482
|
+
queueRemove(conf: string, port: number, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
483
|
+
queueRemove(conf: string, port: number, cuk: string | null, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
484
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
485
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
486
|
+
|
|
487
|
+
// queue del (NOTE: callback function type is K2hdkcQueueRemoveCallback)
|
|
488
|
+
queueDel(prefix: string, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
489
|
+
queueDel(conf: string, prefix: string, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
490
|
+
queueDel(conf: string, port: number, prefix: string, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
491
|
+
queueDel(conf: string, port: number, cuk: string | null, prefix: string, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
492
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
493
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
494
|
+
|
|
495
|
+
queueDel(prefix: string, count: number, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
496
|
+
queueDel(conf: string, prefix: string, count: number, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
497
|
+
queueDel(conf: string, port: number, prefix: string, count: number, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
498
|
+
queueDel(conf: string, port: number, cuk: string | null, prefix: string, count: number, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
499
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, count: number, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
500
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, count: number, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
501
|
+
|
|
502
|
+
queueDel(prefix: string, count: number, is_fifo: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
503
|
+
queueDel(conf: string, prefix: string, count: number, is_fifo: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
504
|
+
queueDel(conf: string, port: number, prefix: string, count: number, is_fifo: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
505
|
+
queueDel(conf: string, port: number, cuk: string | null, prefix: string, count: number, is_fifo: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
506
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
507
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
508
|
+
|
|
509
|
+
queueDel(prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
510
|
+
queueDel(conf: string, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
511
|
+
queueDel(conf: string, port: number, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
512
|
+
queueDel(conf: string, port: number, cuk: string | null, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
513
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
514
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
515
|
+
|
|
516
|
+
queueDel(prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
517
|
+
queueDel(conf: string, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
518
|
+
queueDel(conf: string, port: number, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
519
|
+
queueDel(conf: string, port: number, cuk: string | null, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
520
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
521
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null, cb: K2hdkcQueueRemoveCallback): boolean;
|
|
522
|
+
|
|
523
|
+
// cas init
|
|
524
|
+
casInit(key: string, cb: K2hdkcCasInitCallback): boolean;
|
|
525
|
+
casInit(conf: string, key: string, cb: K2hdkcCasInitCallback): boolean;
|
|
526
|
+
casInit(conf: string, port: number, key: string, cb: K2hdkcCasInitCallback): boolean;
|
|
527
|
+
casInit(conf: string, port: number, cuk: string | null, key: string, cb: K2hdkcCasInitCallback): boolean;
|
|
528
|
+
casInit(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, cb: K2hdkcCasInitCallback): boolean;
|
|
529
|
+
casInit(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, cb: K2hdkcCasInitCallback): boolean;
|
|
530
|
+
|
|
531
|
+
casInit(key: string, value: number, cb: K2hdkcCasInitCallback): boolean;
|
|
532
|
+
casInit(conf: string, key: string, value: number, cb: K2hdkcCasInitCallback): boolean;
|
|
533
|
+
casInit(conf: string, port: number, key: string, value: number, cb: K2hdkcCasInitCallback): boolean;
|
|
534
|
+
casInit(conf: string, port: number, cuk: string | null, key: string, value: number, cb: K2hdkcCasInitCallback): boolean;
|
|
535
|
+
casInit(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: number, cb: K2hdkcCasInitCallback): boolean;
|
|
536
|
+
casInit(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: number, cb: K2hdkcCasInitCallback): boolean;
|
|
537
|
+
|
|
538
|
+
casInit(key: string, value: number, pass: string | null, cb: K2hdkcCasInitCallback): boolean;
|
|
539
|
+
casInit(conf: string, key: string, value: number, pass: string | null, cb: K2hdkcCasInitCallback): boolean;
|
|
540
|
+
casInit(conf: string, port: number, key: string, value: number, pass: string | null, cb: K2hdkcCasInitCallback): boolean;
|
|
541
|
+
casInit(conf: string, port: number, cuk: string | null, key: string, value: number, pass: string | null, cb: K2hdkcCasInitCallback): boolean;
|
|
542
|
+
casInit(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: number, pass: string | null, cb: K2hdkcCasInitCallback): boolean;
|
|
543
|
+
casInit(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: number, pass: string | null, cb: K2hdkcCasInitCallback): boolean;
|
|
544
|
+
|
|
545
|
+
casInit(key: string, value: number, pass: string | null, expire: number, cb: K2hdkcCasInitCallback): boolean;
|
|
546
|
+
casInit(conf: string, key: string, value: number, pass: string | null, expire: number, cb: K2hdkcCasInitCallback): boolean;
|
|
547
|
+
casInit(conf: string, port: number, key: string, value: number, pass: string | null, expire: number, cb: K2hdkcCasInitCallback): boolean;
|
|
548
|
+
casInit(conf: string, port: number, cuk: string | null, key: string, value: number, pass: string | null, expire: number, cb: K2hdkcCasInitCallback): boolean;
|
|
549
|
+
casInit(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: number, pass: string | null, expire: number, cb: K2hdkcCasInitCallback): boolean;
|
|
550
|
+
casInit(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: number, pass: string | null, expire: number, cb: K2hdkcCasInitCallback): boolean;
|
|
551
|
+
|
|
552
|
+
// cas get
|
|
553
|
+
casGet(key: string, cb: K2hdkcCasGetCallback): boolean;
|
|
554
|
+
casGet(conf: string, key: string, cb: K2hdkcCasGetCallback): boolean;
|
|
555
|
+
casGet(conf: string, port: number, key: string, cb: K2hdkcCasGetCallback): boolean;
|
|
556
|
+
casGet(conf: string, port: number, cuk: string | null, key: string, cb: K2hdkcCasGetCallback): boolean;
|
|
557
|
+
casGet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, cb: K2hdkcCasGetCallback): boolean;
|
|
558
|
+
casGet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, cb: K2hdkcCasGetCallback): boolean;
|
|
559
|
+
|
|
560
|
+
casGet(key: string, pass: string | null, cb: K2hdkcCasGetCallback): boolean;
|
|
561
|
+
casGet(conf: string, key: string, pass: string | null, cb: K2hdkcCasGetCallback): boolean;
|
|
562
|
+
casGet(conf: string, port: number, key: string, pass: string | null, cb: K2hdkcCasGetCallback): boolean;
|
|
563
|
+
casGet(conf: string, port: number, cuk: string | null, key: string, pass: string | null, cb: K2hdkcCasGetCallback): boolean;
|
|
564
|
+
casGet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, pass: string | null, cb: K2hdkcCasGetCallback): boolean;
|
|
565
|
+
casGet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, pass: string | null, cb: K2hdkcCasGetCallback): boolean;
|
|
566
|
+
|
|
567
|
+
// cas set
|
|
568
|
+
casSet(key: string, oldval: number, newval: number, cb: K2hdkcCasSetCallback): boolean;
|
|
569
|
+
casSet(conf: string, key: string, oldval: number, newval: number, cb: K2hdkcCasSetCallback): boolean;
|
|
570
|
+
casSet(conf: string, port: number, key: string, oldval: number, newval: number, cb: K2hdkcCasSetCallback): boolean;
|
|
571
|
+
casSet(conf: string, port: number, cuk: string | null, key: string, oldval: number, newval: number, cb: K2hdkcCasSetCallback): boolean;
|
|
572
|
+
casSet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, oldval: number, newval: number, cb: K2hdkcCasSetCallback): boolean;
|
|
573
|
+
casSet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, oldval: number, newval: number, cb: K2hdkcCasSetCallback): boolean;
|
|
574
|
+
|
|
575
|
+
casSet(key: string, oldval: number, newval: number, pass: string | null, cb: K2hdkcCasSetCallback): boolean;
|
|
576
|
+
casSet(conf: string, key: string, oldval: number, newval: number, pass: string | null, cb: K2hdkcCasSetCallback): boolean;
|
|
577
|
+
casSet(conf: string, port: number, key: string, oldval: number, newval: number, pass: string | null, cb: K2hdkcCasSetCallback): boolean;
|
|
578
|
+
casSet(conf: string, port: number, cuk: string | null, key: string, oldval: number, newval: number, pass: string | null, cb: K2hdkcCasSetCallback): boolean;
|
|
579
|
+
casSet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, oldval: number, newval: number, pass: string | null, cb: K2hdkcCasSetCallback): boolean;
|
|
580
|
+
casSet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, oldval: number, newval: number, pass: string | null, cb: K2hdkcCasSetCallback): boolean;
|
|
581
|
+
|
|
582
|
+
casSet(key: string, oldval: number, newval: number, pass: string | null, expire: number, cb: K2hdkcCasSetCallback): boolean;
|
|
583
|
+
casSet(conf: string, key: string, oldval: number, newval: number, pass: string | null, expire: number, cb: K2hdkcCasSetCallback): boolean;
|
|
584
|
+
casSet(conf: string, port: number, key: string, oldval: number, newval: number, pass: string | null, expire: number, cb: K2hdkcCasSetCallback): boolean;
|
|
585
|
+
casSet(conf: string, port: number, cuk: string | null, key: string, oldval: number, newval: number, pass: string | null, expire: number, cb: K2hdkcCasSetCallback): boolean;
|
|
586
|
+
casSet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, oldval: number, newval: number, pass: string | null, expire: number, cb: K2hdkcCasSetCallback): boolean;
|
|
587
|
+
casSet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, oldval: number, newval: number, pass: string | null, expire: number, cb: K2hdkcCasSetCallback): boolean;
|
|
588
|
+
|
|
589
|
+
// cas inc/dec
|
|
590
|
+
casIncDec(key: string, cb: K2hdkcCasIncDecCallback): boolean;
|
|
591
|
+
casIncDec(conf: string, key: string, cb: K2hdkcCasIncDecCallback): boolean;
|
|
592
|
+
casIncDec(conf: string, port: number, key: string, cb: K2hdkcCasIncDecCallback): boolean;
|
|
593
|
+
casIncDec(conf: string, port: number, cuk: string | null, key: string, cb: K2hdkcCasIncDecCallback): boolean;
|
|
594
|
+
casIncDec(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, cb: K2hdkcCasIncDecCallback): boolean;
|
|
595
|
+
casIncDec(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, cb: K2hdkcCasIncDecCallback): boolean;
|
|
596
|
+
|
|
597
|
+
casIncDec(key: string, is_increment: boolean, cb: K2hdkcCasIncDecCallback): boolean;
|
|
598
|
+
casIncDec(conf: string, key: string, is_increment: boolean, cb: K2hdkcCasIncDecCallback): boolean;
|
|
599
|
+
casIncDec(conf: string, port: number, key: string, is_increment: boolean, cb: K2hdkcCasIncDecCallback): boolean;
|
|
600
|
+
casIncDec(conf: string, port: number, cuk: string | null, key: string, is_increment: boolean, cb: K2hdkcCasIncDecCallback): boolean;
|
|
601
|
+
casIncDec(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, is_increment: boolean, cb: K2hdkcCasIncDecCallback): boolean;
|
|
602
|
+
casIncDec(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, is_increment: boolean, cb: K2hdkcCasIncDecCallback): boolean;
|
|
603
|
+
|
|
604
|
+
casIncDec(key: string, is_increment: boolean, pass: string | null, cb: K2hdkcCasIncDecCallback): boolean;
|
|
605
|
+
casIncDec(conf: string, key: string, is_increment: boolean, pass: string | null, cb: K2hdkcCasIncDecCallback): boolean;
|
|
606
|
+
casIncDec(conf: string, port: number, key: string, is_increment: boolean, pass: string | null, cb: K2hdkcCasIncDecCallback): boolean;
|
|
607
|
+
casIncDec(conf: string, port: number, cuk: string | null, key: string, is_increment: boolean, pass: string | null, cb: K2hdkcCasIncDecCallback): boolean;
|
|
608
|
+
casIncDec(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, is_increment: boolean, pass: string | null, cb: K2hdkcCasIncDecCallback): boolean;
|
|
609
|
+
casIncDec(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, is_increment: boolean, pass: string | null, cb: K2hdkcCasIncDecCallback): boolean;
|
|
610
|
+
|
|
611
|
+
casIncDec(key: string, is_increment: boolean, pass: string | null, expire: number, cb: K2hdkcCasIncDecCallback): boolean;
|
|
612
|
+
casIncDec(conf: string, key: string, is_increment: boolean, pass: string | null, expire: number, cb: K2hdkcCasIncDecCallback): boolean;
|
|
613
|
+
casIncDec(conf: string, port: number, key: string, is_increment: boolean, pass: string | null, expire: number, cb: K2hdkcCasIncDecCallback): boolean;
|
|
614
|
+
casIncDec(conf: string, port: number, cuk: string | null, key: string, is_increment: boolean, pass: string | null, expire: number, cb: K2hdkcCasIncDecCallback): boolean;
|
|
615
|
+
casIncDec(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, is_increment: boolean, pass: string | null, expire: number, cb: K2hdkcCasIncDecCallback): boolean;
|
|
616
|
+
casIncDec(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, is_increment: boolean, pass: string | null, expire: number, cb: K2hdkcCasIncDecCallback): boolean;
|
|
617
|
+
|
|
618
|
+
//-----------------------------------------------------
|
|
619
|
+
// Methods (no callback)
|
|
620
|
+
//-----------------------------------------------------
|
|
621
|
+
// clean/clear
|
|
622
|
+
clean(): boolean;
|
|
623
|
+
clear(): boolean;
|
|
624
|
+
|
|
625
|
+
// check
|
|
626
|
+
isPermanent(): boolean;
|
|
627
|
+
|
|
628
|
+
// get
|
|
629
|
+
getValue(key: string): string | null;
|
|
630
|
+
getValue(conf: string, key: string): string | null;
|
|
631
|
+
getValue(conf: string, port: number, key: string): string | null;
|
|
632
|
+
getValue(conf: string, port: number, cuk: string | null, key: string): string | null;
|
|
633
|
+
getValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string): string | null;
|
|
634
|
+
getValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string): string | null;
|
|
635
|
+
|
|
636
|
+
getValue(key: string, subkey: string | null): string | null;
|
|
637
|
+
getValue(conf: string, key: string, subkey: string | null): string | null;
|
|
638
|
+
getValue(conf: string, port: number, key: string, subkey: string | null): string | null;
|
|
639
|
+
getValue(conf: string, port: number, cuk: string | null, key: string, subkey: string | null): string | null;
|
|
640
|
+
getValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, subkey: string | null): string | null;
|
|
641
|
+
getValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, subkey: string | null): string | null;
|
|
642
|
+
|
|
643
|
+
getValue(key: string, subkey: string | null, attrcheck: boolean): string | null;
|
|
644
|
+
getValue(conf: string, key: string, subkey: string | null, attrcheck: boolean): string | null;
|
|
645
|
+
getValue(conf: string, port: number, key: string, subkey: string | null, attrcheck: boolean): string | null;
|
|
646
|
+
getValue(conf: string, port: number, cuk: string | null, key: string, subkey: string | null, attrcheck: boolean): string | null;
|
|
647
|
+
getValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, subkey: string | null, attrcheck: boolean): string | null;
|
|
648
|
+
getValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, subkey: string | null, attrcheck: boolean): string | null;
|
|
649
|
+
|
|
650
|
+
getValue(key: string, subkey: string | null, attrcheck: boolean, pass: string | null): string | null;
|
|
651
|
+
getValue(conf: string, key: string, subkey: string | null, attrcheck: boolean, pass: string | null): string | null;
|
|
652
|
+
getValue(conf: string, port: number, key: string, subkey: string | null, attrcheck: boolean, pass: string | null): string | null;
|
|
653
|
+
getValue(conf: string, port: number, cuk: string | null, key: string, subkey: string | null, attrcheck: boolean, pass: string | null): string | null;
|
|
654
|
+
getValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, subkey: string | null, attrcheck: boolean, pass: string | null): string | null;
|
|
655
|
+
getValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, subkey: string | null, attrcheck: boolean, pass: string | null): string | null;
|
|
656
|
+
|
|
657
|
+
// get subkeys
|
|
658
|
+
getSubkeys(key: string): string[] | null;
|
|
659
|
+
getSubkeys(conf: string, key: string): string[] | null;
|
|
660
|
+
getSubkeys(conf: string, port: number, key: string): string[] | null;
|
|
661
|
+
getSubkeys(conf: string, port: number, cuk: string | null, key: string): string[] | null;
|
|
662
|
+
getSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string): string[] | null;
|
|
663
|
+
getSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string): string[] | null;
|
|
664
|
+
|
|
665
|
+
getSubkeys(key: string, attrcheck: boolean): string[] | null;
|
|
666
|
+
getSubkeys(conf: string, key: string, attrcheck: boolean): string[] | null;
|
|
667
|
+
getSubkeys(conf: string, port: number, key: string, attrcheck: boolean): string[] | null;
|
|
668
|
+
getSubkeys(conf: string, port: number, cuk: string | null, key: string, attrcheck: boolean): string[] | null;
|
|
669
|
+
getSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, attrcheck: boolean): string[] | null;
|
|
670
|
+
getSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, attrcheck: boolean): string[] | null;
|
|
671
|
+
|
|
672
|
+
// get attrs
|
|
673
|
+
getAttrs(key: string): string[] | null;
|
|
674
|
+
getAttrs(conf: string, key: string): string[] | null;
|
|
675
|
+
getAttrs(conf: string, port: number, key: string): string[] | null;
|
|
676
|
+
getAttrs(conf: string, port: number, cuk: string | null, key: string): string[] | null;
|
|
677
|
+
getAttrs(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string): string[] | null;
|
|
678
|
+
getAttrs(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string): string[] | null;
|
|
679
|
+
|
|
680
|
+
// set value
|
|
681
|
+
setValue(key: string): boolean;
|
|
682
|
+
setValue(conf: string, key: string): boolean;
|
|
683
|
+
setValue(conf: string, port: number, key: string): boolean;
|
|
684
|
+
setValue(conf: string, port: number, cuk: string | null, key: string): boolean;
|
|
685
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string): boolean;
|
|
686
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string): boolean;
|
|
687
|
+
|
|
688
|
+
setValue(key: string, value: string | null): boolean;
|
|
689
|
+
setValue(conf: string, key: string, value: string | null): boolean;
|
|
690
|
+
setValue(conf: string, port: number, key: string, value: string | null): boolean;
|
|
691
|
+
setValue(conf: string, port: number, cuk: string | null, key: string, value: string | null): boolean;
|
|
692
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null): boolean;
|
|
693
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null): boolean;
|
|
694
|
+
|
|
695
|
+
setValue(key: string, value: string | null, subkey: string | null): boolean;
|
|
696
|
+
setValue(conf: string, key: string, value: string | null, subkey: string | null): boolean;
|
|
697
|
+
setValue(conf: string, port: number, key: string, value: string | null, subkey: string | null): boolean;
|
|
698
|
+
setValue(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkey: string | null): boolean;
|
|
699
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkey: string | null): boolean;
|
|
700
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkey: string | null): boolean;
|
|
701
|
+
|
|
702
|
+
setValue(key: string, value: string | null, subkey: string | null, pass: string | null): boolean;
|
|
703
|
+
setValue(conf: string, key: string, value: string | null, subkey: string | null, pass: string | null): boolean;
|
|
704
|
+
setValue(conf: string, port: number, key: string, value: string | null, subkey: string | null, pass: string | null): boolean;
|
|
705
|
+
setValue(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkey: string | null, pass: string | null): boolean;
|
|
706
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkey: string | null, pass: string | null): boolean;
|
|
707
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkey: string | null, pass: string | null): boolean;
|
|
708
|
+
|
|
709
|
+
setValue(key: string, value: string | null, subkey: string | null, pass: string | null, expire: number): boolean;
|
|
710
|
+
setValue(conf: string, key: string, value: string | null, subkey: string | null, pass: string | null, expire: number): boolean;
|
|
711
|
+
setValue(conf: string, port: number, key: string, value: string | null, subkey: string | null, pass: string | null, expire: number): boolean;
|
|
712
|
+
setValue(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkey: string | null, pass: string | null, expire: number): boolean;
|
|
713
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkey: string | null, pass: string | null, expire: number): boolean;
|
|
714
|
+
setValue(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkey: string | null, pass: string | null, expire: number): boolean;
|
|
715
|
+
|
|
716
|
+
// set subkeys
|
|
717
|
+
setSubkeys(key: string): boolean;
|
|
718
|
+
setSubkeys(conf: string, key: string): boolean;
|
|
719
|
+
setSubkeys(conf: string, port: number, key: string): boolean;
|
|
720
|
+
setSubkeys(conf: string, port: number, cuk: string | null, key: string): boolean;
|
|
721
|
+
setSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string): boolean;
|
|
722
|
+
setSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string): boolean;
|
|
723
|
+
|
|
724
|
+
setSubkeys(key: string, subkeys: string[] | null): boolean;
|
|
725
|
+
setSubkeys(conf: string, key: string, subkeys: string[] | null): boolean;
|
|
726
|
+
setSubkeys(conf: string, port: number, key: string, subkeys: string[] | null): boolean;
|
|
727
|
+
setSubkeys(conf: string, port: number, cuk: string | null, key: string, subkeys: string[] | null): boolean;
|
|
728
|
+
setSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, subkeys: string[] | null): boolean;
|
|
729
|
+
setSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, subkeys: string[] | null): boolean;
|
|
730
|
+
|
|
731
|
+
// add subkey
|
|
732
|
+
addSubkey(key: string, value: string | null, subkey: string): boolean;
|
|
733
|
+
addSubkey(conf: string, key: string, value: string | null, subkey: string): boolean;
|
|
734
|
+
addSubkey(conf: string, port: number, key: string, value: string | null, subkey: string): boolean;
|
|
735
|
+
addSubkey(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkey: string): boolean;
|
|
736
|
+
addSubkey(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkey: string): boolean;
|
|
737
|
+
addSubkey(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkey: string): boolean;
|
|
738
|
+
|
|
739
|
+
addSubkey(key: string, value: string | null, subkey: string, pass: string | null): boolean;
|
|
740
|
+
addSubkey(conf: string, key: string, value: string | null, subkey: string, pass: string | null): boolean;
|
|
741
|
+
addSubkey(conf: string, port: number, key: string, value: string | null, subkey: string, pass: string | null): boolean;
|
|
742
|
+
addSubkey(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkey: string, pass: string | null): boolean;
|
|
743
|
+
addSubkey(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkey: string, pass: string | null): boolean;
|
|
744
|
+
addSubkey(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkey: string, pass: string | null): boolean;
|
|
745
|
+
|
|
746
|
+
addSubkey(key: string, value: string | null, subkey: string, pass: string | null, expire: number): boolean;
|
|
747
|
+
addSubkey(conf: string, key: string, value: string | null, subkey: string, pass: string | null, expire: number): boolean;
|
|
748
|
+
addSubkey(conf: string, port: number, key: string, value: string | null, subkey: string, pass: string | null, expire: number): boolean;
|
|
749
|
+
addSubkey(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkey: string, pass: string | null, expire: number): boolean;
|
|
750
|
+
addSubkey(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkey: string, pass: string | null, expire: number): boolean;
|
|
751
|
+
addSubkey(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkey: string, pass: string | null, expire: number): boolean;
|
|
752
|
+
|
|
753
|
+
// clear subkeys
|
|
754
|
+
clearSubkeys(key: string, subkeys: string[] | null): boolean;
|
|
755
|
+
clearSubkeys(conf: string, key: string, subkeys: string[] | null): boolean;
|
|
756
|
+
clearSubkeys(conf: string, port: number, key: string, subkeys: string[] | null): boolean;
|
|
757
|
+
clearSubkeys(conf: string, port: number, cuk: string | null, key: string, subkeys: string[] | null): boolean;
|
|
758
|
+
clearSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, subkeys: string[] | null): boolean;
|
|
759
|
+
clearSubkeys(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, subkeys: string[] | null): boolean;
|
|
760
|
+
|
|
761
|
+
// set all
|
|
762
|
+
setAll(key: string): boolean;
|
|
763
|
+
setAll(conf: string, key: string): boolean;
|
|
764
|
+
setAll(conf: string, port: number, key: string): boolean;
|
|
765
|
+
setAll(conf: string, port: number, cuk: string | null, key: string): boolean;
|
|
766
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string): boolean;
|
|
767
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string): boolean;
|
|
768
|
+
|
|
769
|
+
setAll(key: string, value: string | null): boolean;
|
|
770
|
+
setAll(conf: string, key: string, value: string | null): boolean;
|
|
771
|
+
setAll(conf: string, port: number, key: string, value: string | null): boolean;
|
|
772
|
+
setAll(conf: string, port: number, cuk: string | null, key: string, value: string | null): boolean;
|
|
773
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null): boolean;
|
|
774
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null): boolean;
|
|
775
|
+
|
|
776
|
+
setAll(key: string, value: string | null, subkeys: string[] | null): boolean;
|
|
777
|
+
setAll(conf: string, key: string, value: string | null, subkeys: string[] | null): boolean;
|
|
778
|
+
setAll(conf: string, port: number, key: string, value: string | null, subkeys: string[] | null): boolean;
|
|
779
|
+
setAll(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkeys: string[] | null): boolean;
|
|
780
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkeys: string[] | null): boolean;
|
|
781
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkeys: string[] | null): boolean;
|
|
782
|
+
|
|
783
|
+
setAll(key: string, value: string | null, subkeys: string[] | null, pass: string | null): boolean;
|
|
784
|
+
setAll(conf: string, key: string, value: string | null, subkeys: string[] | null, pass: string | null): boolean;
|
|
785
|
+
setAll(conf: string, port: number, key: string, value: string | null, subkeys: string[] | null, pass: string | null): boolean;
|
|
786
|
+
setAll(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkeys: string[] | null, pass: string | null): boolean;
|
|
787
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkeys: string[] | null, pass: string | null): boolean;
|
|
788
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkeys: string[] | null, pass: string | null): boolean;
|
|
789
|
+
|
|
790
|
+
setAll(key: string, value: string | null, subkeys: string[] | null, pass: string | null, expire: number): boolean;
|
|
791
|
+
setAll(conf: string, key: string, value: string | null, subkeys: string[] | null, pass: string | null, expire: number): boolean;
|
|
792
|
+
setAll(conf: string, port: number, key: string, value: string | null, subkeys: string[] | null, pass: string | null, expire: number): boolean;
|
|
793
|
+
setAll(conf: string, port: number, cuk: string | null, key: string, value: string | null, subkeys: string[] | null, pass: string | null, expire: number): boolean;
|
|
794
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: string | null, subkeys: string[] | null, pass: string | null, expire: number): boolean;
|
|
795
|
+
setAll(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: string | null, subkeys: string[] | null, pass: string | null, expire: number): boolean;
|
|
796
|
+
|
|
797
|
+
// remove
|
|
798
|
+
remove(key: string): boolean;
|
|
799
|
+
remove(conf: string, key: string): boolean;
|
|
800
|
+
remove(conf: string, port: number, key: string): boolean;
|
|
801
|
+
remove(conf: string, port: number, cuk: string | null, key: string): boolean;
|
|
802
|
+
remove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string): boolean;
|
|
803
|
+
remove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string): boolean;
|
|
804
|
+
|
|
805
|
+
remove(key: string, is_del_subkeys: boolean): boolean;
|
|
806
|
+
remove(conf: string, key: string, is_del_subkeys: boolean): boolean;
|
|
807
|
+
remove(conf: string, port: number, key: string, is_del_subkeys: boolean): boolean;
|
|
808
|
+
remove(conf: string, port: number, cuk: string | null, key: string, is_del_subkeys: boolean): boolean;
|
|
809
|
+
remove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, is_del_subkeys: boolean): boolean;
|
|
810
|
+
remove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, is_del_subkeys: boolean): boolean;
|
|
811
|
+
|
|
812
|
+
// rename
|
|
813
|
+
rename(oldkey: string, newkey: string): boolean;
|
|
814
|
+
rename(conf: string, oldkey: string, newkey: string): boolean;
|
|
815
|
+
rename(conf: string, port: number, oldkey: string, newkey: string): boolean;
|
|
816
|
+
rename(conf: string, port: number, cuk: string | null, oldkey: string, newkey: string): boolean;
|
|
817
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, oldkey: string, newkey: string): boolean;
|
|
818
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, oldkey: string, newkey: string): boolean;
|
|
819
|
+
|
|
820
|
+
rename(oldkey: string, newkey: string, parentkey: string | null): boolean;
|
|
821
|
+
rename(conf: string, oldkey: string, newkey: string, parentkey: string | null): boolean;
|
|
822
|
+
rename(conf: string, port: number, oldkey: string, newkey: string, parentkey: string | null): boolean;
|
|
823
|
+
rename(conf: string, port: number, cuk: string | null, oldkey: string, newkey: string, parentkey: string | null): boolean;
|
|
824
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, oldkey: string, newkey: string, parentkey: string | null): boolean;
|
|
825
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, oldkey: string, newkey: string, parentkey: string | null): boolean;
|
|
826
|
+
|
|
827
|
+
rename(oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean): boolean;
|
|
828
|
+
rename(conf: string, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean): boolean;
|
|
829
|
+
rename(conf: string, port: number, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean): boolean;
|
|
830
|
+
rename(conf: string, port: number, cuk: string | null, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean): boolean;
|
|
831
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean): boolean;
|
|
832
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean): boolean;
|
|
833
|
+
|
|
834
|
+
rename(oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null): boolean;
|
|
835
|
+
rename(conf: string, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null): boolean;
|
|
836
|
+
rename(conf: string, port: number, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null): boolean;
|
|
837
|
+
rename(conf: string, port: number, cuk: string | null, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null): boolean;
|
|
838
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null): boolean;
|
|
839
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null): boolean;
|
|
840
|
+
|
|
841
|
+
rename(oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
842
|
+
rename(conf: string, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
843
|
+
rename(conf: string, port: number, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
844
|
+
rename(conf: string, port: number, cuk: string | null, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
845
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
846
|
+
rename(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, oldkey: string, newkey: string, parentkey: string | null, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
847
|
+
|
|
848
|
+
// queue push
|
|
849
|
+
queuePush(prefix: string, key: string, val: string | null): boolean;
|
|
850
|
+
queuePush(conf: string, prefix: string, key: string, val: string | null): boolean;
|
|
851
|
+
queuePush(conf: string, port: number, prefix: string, key: string, val: string | null): boolean;
|
|
852
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: string, val: string | null): boolean;
|
|
853
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: string, val: string | null): boolean;
|
|
854
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: string, val: string | null): boolean;
|
|
855
|
+
|
|
856
|
+
queuePush(prefix: string, key: string, val: string | null, is_fifo: boolean): boolean;
|
|
857
|
+
queuePush(conf: string, prefix: string, key: string, val: string | null, is_fifo: boolean): boolean;
|
|
858
|
+
queuePush(conf: string, port: number, prefix: string, key: string, val: string | null, is_fifo: boolean): boolean;
|
|
859
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: string, val: string | null, is_fifo: boolean): boolean;
|
|
860
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: string, val: string | null, is_fifo: boolean): boolean;
|
|
861
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: string, val: string | null, is_fifo: boolean): boolean;
|
|
862
|
+
|
|
863
|
+
queuePush(prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
864
|
+
queuePush(conf: string, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
865
|
+
queuePush(conf: string, port: number, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
866
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
867
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
868
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
869
|
+
|
|
870
|
+
queuePush(prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
871
|
+
queuePush(conf: string, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
872
|
+
queuePush(conf: string, port: number, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
873
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
874
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
875
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
876
|
+
|
|
877
|
+
queuePush(prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
878
|
+
queuePush(conf: string, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
879
|
+
queuePush(conf: string, port: number, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
880
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
881
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
882
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
883
|
+
|
|
884
|
+
queuePush(prefix: string, key: null, val: string | null): boolean;
|
|
885
|
+
queuePush(conf: string, prefix: string, key: null, val: string | null): boolean;
|
|
886
|
+
queuePush(conf: string, port: number, prefix: string, key: null, val: string | null): boolean;
|
|
887
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: null, val: string | null): boolean;
|
|
888
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: null, val: string | null): boolean;
|
|
889
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: null, val: string | null): boolean;
|
|
890
|
+
|
|
891
|
+
queuePush(prefix: string, key: null, val: string | null, is_fifo: boolean): boolean;
|
|
892
|
+
queuePush(conf: string, prefix: string, key: null, val: string | null, is_fifo: boolean): boolean;
|
|
893
|
+
queuePush(conf: string, port: number, prefix: string, key: null, val: string | null, is_fifo: boolean): boolean;
|
|
894
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: null, val: string | null, is_fifo: boolean): boolean;
|
|
895
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: null, val: string | null, is_fifo: boolean): boolean;
|
|
896
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: null, val: string | null, is_fifo: boolean): boolean;
|
|
897
|
+
|
|
898
|
+
queuePush(prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
899
|
+
queuePush(conf: string, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
900
|
+
queuePush(conf: string, port: number, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
901
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
902
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
903
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
904
|
+
|
|
905
|
+
queuePush(prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
906
|
+
queuePush(conf: string, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
907
|
+
queuePush(conf: string, port: number, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
908
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
909
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
910
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
911
|
+
|
|
912
|
+
queuePush(prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
913
|
+
queuePush(conf: string, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
914
|
+
queuePush(conf: string, port: number, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
915
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
916
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
917
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, key: null, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
918
|
+
|
|
919
|
+
queuePush(prefix: string, val: string | null): boolean;
|
|
920
|
+
queuePush(conf: string, prefix: string, val: string | null): boolean;
|
|
921
|
+
queuePush(conf: string, port: number, prefix: string, val: string | null): boolean;
|
|
922
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, val: string | null): boolean;
|
|
923
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, val: string | null): boolean;
|
|
924
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, val: string | null): boolean;
|
|
925
|
+
|
|
926
|
+
queuePush(prefix: string, val: string | null, is_fifo: boolean): boolean;
|
|
927
|
+
queuePush(conf: string, prefix: string, val: string | null, is_fifo: boolean): boolean;
|
|
928
|
+
queuePush(conf: string, port: number, prefix: string, val: string | null, is_fifo: boolean): boolean;
|
|
929
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, val: string | null, is_fifo: boolean): boolean;
|
|
930
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, val: string | null, is_fifo: boolean): boolean;
|
|
931
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, val: string | null, is_fifo: boolean): boolean;
|
|
932
|
+
|
|
933
|
+
queuePush(prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
934
|
+
queuePush(conf: string, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
935
|
+
queuePush(conf: string, port: number, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
936
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
937
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
938
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean): boolean;
|
|
939
|
+
|
|
940
|
+
queuePush(prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
941
|
+
queuePush(conf: string, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
942
|
+
queuePush(conf: string, port: number, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
943
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
944
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
945
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null): boolean;
|
|
946
|
+
|
|
947
|
+
queuePush(prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
948
|
+
queuePush(conf: string, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
949
|
+
queuePush(conf: string, port: number, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
950
|
+
queuePush(conf: string, port: number, cuk: string | null, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
951
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
952
|
+
queuePush(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, val: string | null, is_fifo: boolean, attrcheck: boolean, pass: string | null, expire: number): boolean;
|
|
953
|
+
|
|
954
|
+
// queue pop
|
|
955
|
+
queuePop(prefix: string): [string, string | null] | string | null;
|
|
956
|
+
queuePop(conf: string, prefix: string): [string, string | null] | string | null;
|
|
957
|
+
queuePop(conf: string, port: number, prefix: string): [string, string | null] | string | null;
|
|
958
|
+
queuePop(conf: string, port: number, cuk: string | null, prefix: string): [string, string | null] | string | null;
|
|
959
|
+
queuePop(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string): [string, string | null] | string | null;
|
|
960
|
+
queuePop(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string): [string, string | null] | string | null;
|
|
961
|
+
|
|
962
|
+
queuePop(prefix: string, is_fifo: boolean): [string, string | null] | string | null;
|
|
963
|
+
queuePop(conf: string, prefix: string, is_fifo: boolean): [string, string | null] | string | null;
|
|
964
|
+
queuePop(conf: string, port: number, prefix: string, is_fifo: boolean): [string, string | null] | string | null;
|
|
965
|
+
queuePop(conf: string, port: number, cuk: string | null, prefix: string, is_fifo: boolean): [string, string | null] | string | null;
|
|
966
|
+
queuePop(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, is_fifo: boolean): [string, string | null] | string | null;
|
|
967
|
+
queuePop(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, is_fifo: boolean): [string, string | null] | string | null;
|
|
968
|
+
|
|
969
|
+
queuePop(prefix: string, is_fifo: boolean, is_key_queue: boolean): [string, string | null] | string | null;
|
|
970
|
+
queuePop(conf: string, prefix: string, is_fifo: boolean, is_key_queue: boolean): [string, string | null] | string | null;
|
|
971
|
+
queuePop(conf: string, port: number, prefix: string, is_fifo: boolean, is_key_queue: boolean): [string, string | null] | string | null;
|
|
972
|
+
queuePop(conf: string, port: number, cuk: string | null, prefix: string, is_fifo: boolean, is_key_queue: boolean): [string, string | null] | string | null;
|
|
973
|
+
queuePop(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, is_fifo: boolean, is_key_queue: boolean): [string, string | null] | string | null;
|
|
974
|
+
queuePop(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, is_fifo: boolean, is_key_queue: boolean): [string, string | null] | string | null;
|
|
975
|
+
|
|
976
|
+
queuePop(prefix: string, is_fifo: boolean, is_key_queue: boolean, pass: string | null): [string, string | null] | string | null;
|
|
977
|
+
queuePop(conf: string, prefix: string, is_fifo: boolean, is_key_queue: boolean, pass: string | null): [string, string | null] | string | null;
|
|
978
|
+
queuePop(conf: string, port: number, prefix: string, is_fifo: boolean, is_key_queue: boolean, pass: string | null): [string, string | null] | string | null;
|
|
979
|
+
queuePop(conf: string, port: number, cuk: string | null, prefix: string, is_fifo: boolean, is_key_queue: boolean, pass: string | null): [string, string | null] | string | null;
|
|
980
|
+
queuePop(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, is_fifo: boolean, is_key_queue: boolean, pass: string | null): [string, string | null] | string | null;
|
|
981
|
+
queuePop(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, is_fifo: boolean, is_key_queue: boolean, pass: string | null): [string, string | null] | string | null;
|
|
982
|
+
|
|
983
|
+
// queue remove
|
|
984
|
+
queueRemove(prefix: string): boolean;
|
|
985
|
+
queueRemove(conf: string, prefix: string): boolean;
|
|
986
|
+
queueRemove(conf: string, port: number, prefix: string): boolean;
|
|
987
|
+
queueRemove(conf: string, port: number, cuk: string | null, prefix: string): boolean;
|
|
988
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string): boolean;
|
|
989
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string): boolean;
|
|
990
|
+
|
|
991
|
+
queueRemove(prefix: string, count: number): boolean;
|
|
992
|
+
queueRemove(conf: string, prefix: string, count: number): boolean;
|
|
993
|
+
queueRemove(conf: string, port: number, prefix: string, count: number): boolean;
|
|
994
|
+
queueRemove(conf: string, port: number, cuk: string | null, prefix: string, count: number): boolean;
|
|
995
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, count: number): boolean;
|
|
996
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, count: number): boolean;
|
|
997
|
+
|
|
998
|
+
queueRemove(prefix: string, count: number, is_fifo: boolean): boolean;
|
|
999
|
+
queueRemove(conf: string, prefix: string, count: number, is_fifo: boolean): boolean;
|
|
1000
|
+
queueRemove(conf: string, port: number, prefix: string, count: number, is_fifo: boolean): boolean;
|
|
1001
|
+
queueRemove(conf: string, port: number, cuk: string | null, prefix: string, count: number, is_fifo: boolean): boolean;
|
|
1002
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, count: number, is_fifo: boolean): boolean;
|
|
1003
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, count: number, is_fifo: boolean): boolean;
|
|
1004
|
+
|
|
1005
|
+
queueRemove(prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean): boolean;
|
|
1006
|
+
queueRemove(conf: string, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean): boolean;
|
|
1007
|
+
queueRemove(conf: string, port: number, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean): boolean;
|
|
1008
|
+
queueRemove(conf: string, port: number, cuk: string | null, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean): boolean;
|
|
1009
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean): boolean;
|
|
1010
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean): boolean;
|
|
1011
|
+
|
|
1012
|
+
queueRemove(prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null): boolean;
|
|
1013
|
+
queueRemove(conf: string, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null): boolean;
|
|
1014
|
+
queueRemove(conf: string, port: number, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null): boolean;
|
|
1015
|
+
queueRemove(conf: string, port: number, cuk: string | null, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null): boolean;
|
|
1016
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null): boolean;
|
|
1017
|
+
queueRemove(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null): boolean;
|
|
1018
|
+
|
|
1019
|
+
// queue del
|
|
1020
|
+
queueDel(prefix: string): boolean;
|
|
1021
|
+
queueDel(conf: string, prefix: string): boolean;
|
|
1022
|
+
queueDel(conf: string, port: number, prefix: string): boolean;
|
|
1023
|
+
queueDel(conf: string, port: number, cuk: string | null, prefix: string): boolean;
|
|
1024
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string): boolean;
|
|
1025
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string): boolean;
|
|
1026
|
+
|
|
1027
|
+
queueDel(prefix: string, count: number): boolean;
|
|
1028
|
+
queueDel(conf: string, prefix: string, count: number): boolean;
|
|
1029
|
+
queueDel(conf: string, port: number, prefix: string, count: number): boolean;
|
|
1030
|
+
queueDel(conf: string, port: number, cuk: string | null, prefix: string, count: number): boolean;
|
|
1031
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, count: number): boolean;
|
|
1032
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, count: number): boolean;
|
|
1033
|
+
|
|
1034
|
+
queueDel(prefix: string, count: number, is_fifo: boolean): boolean;
|
|
1035
|
+
queueDel(conf: string, prefix: string, count: number, is_fifo: boolean): boolean;
|
|
1036
|
+
queueDel(conf: string, port: number, prefix: string, count: number, is_fifo: boolean): boolean;
|
|
1037
|
+
queueDel(conf: string, port: number, cuk: string | null, prefix: string, count: number, is_fifo: boolean): boolean;
|
|
1038
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, count: number, is_fifo: boolean): boolean;
|
|
1039
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, count: number, is_fifo: boolean): boolean;
|
|
1040
|
+
|
|
1041
|
+
queueDel(prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean): boolean;
|
|
1042
|
+
queueDel(conf: string, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean): boolean;
|
|
1043
|
+
queueDel(conf: string, port: number, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean): boolean;
|
|
1044
|
+
queueDel(conf: string, port: number, cuk: string | null, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean): boolean;
|
|
1045
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean): boolean;
|
|
1046
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean): boolean;
|
|
1047
|
+
|
|
1048
|
+
queueDel(prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null): boolean;
|
|
1049
|
+
queueDel(conf: string, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null): boolean;
|
|
1050
|
+
queueDel(conf: string, port: number, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null): boolean;
|
|
1051
|
+
queueDel(conf: string, port: number, cuk: string | null, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null): boolean;
|
|
1052
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null): boolean;
|
|
1053
|
+
queueDel(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, prefix: string, count: number, is_fifo: boolean, is_key_queue: boolean, pass: string | null): boolean;
|
|
1054
|
+
|
|
1055
|
+
// cas init
|
|
1056
|
+
casInit(key: string): boolean;
|
|
1057
|
+
casInit(conf: string, key: string): boolean;
|
|
1058
|
+
casInit(conf: string, port: number, key: string): boolean;
|
|
1059
|
+
casInit(conf: string, port: number, cuk: string | null, key: string): boolean;
|
|
1060
|
+
casInit(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string): boolean;
|
|
1061
|
+
casInit(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string): boolean;
|
|
1062
|
+
|
|
1063
|
+
casInit(key: string, value: number): boolean;
|
|
1064
|
+
casInit(conf: string, key: string, value: number): boolean;
|
|
1065
|
+
casInit(conf: string, port: number, key: string, value: number): boolean;
|
|
1066
|
+
casInit(conf: string, port: number, cuk: string | null, key: string, value: number): boolean;
|
|
1067
|
+
casInit(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: number): boolean;
|
|
1068
|
+
casInit(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: number): boolean;
|
|
1069
|
+
|
|
1070
|
+
casInit(key: string, value: number, pass: string | null): boolean;
|
|
1071
|
+
casInit(conf: string, key: string, value: number, pass: string | null): boolean;
|
|
1072
|
+
casInit(conf: string, port: number, key: string, value: number, pass: string | null): boolean;
|
|
1073
|
+
casInit(conf: string, port: number, cuk: string | null, key: string, value: number, pass: string | null): boolean;
|
|
1074
|
+
casInit(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: number, pass: string | null): boolean;
|
|
1075
|
+
casInit(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: number, pass: string | null): boolean;
|
|
1076
|
+
|
|
1077
|
+
casInit(key: string, value: number, pass: string | null, expire: number): boolean;
|
|
1078
|
+
casInit(conf: string, key: string, value: number, pass: string | null, expire: number): boolean;
|
|
1079
|
+
casInit(conf: string, port: number, key: string, value: number, pass: string | null, expire: number): boolean;
|
|
1080
|
+
casInit(conf: string, port: number, cuk: string | null, key: string, value: number, pass: string | null, expire: number): boolean;
|
|
1081
|
+
casInit(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, value: number, pass: string | null, expire: number): boolean;
|
|
1082
|
+
casInit(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, value: number, pass: string | null, expire: number): boolean;
|
|
1083
|
+
|
|
1084
|
+
// cas get
|
|
1085
|
+
casGet(key: string): number | undefined;
|
|
1086
|
+
casGet(conf: string, key: string): number | undefined;
|
|
1087
|
+
casGet(conf: string, port: number, key: string): number | undefined;
|
|
1088
|
+
casGet(conf: string, port: number, cuk: string | null, key: string): number | undefined;
|
|
1089
|
+
casGet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string): number | undefined;
|
|
1090
|
+
casGet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string): number | undefined;
|
|
1091
|
+
|
|
1092
|
+
casGet(key: string, pass: string | null): number | undefined;
|
|
1093
|
+
casGet(conf: string, key: string, pass: string | null): number | undefined;
|
|
1094
|
+
casGet(conf: string, port: number, key: string, pass: string | null): number | undefined;
|
|
1095
|
+
casGet(conf: string, port: number, cuk: string | null, key: string, pass: string | null): number | undefined;
|
|
1096
|
+
casGet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, pass: string | null): number | undefined;
|
|
1097
|
+
casGet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, pass: string | null): number | undefined;
|
|
1098
|
+
|
|
1099
|
+
// cas set
|
|
1100
|
+
casSet(key: string, oldval: number, newval: number): boolean;
|
|
1101
|
+
casSet(conf: string, key: string, oldval: number, newval: number): boolean;
|
|
1102
|
+
casSet(conf: string, port: number, key: string, oldval: number, newval: number): boolean;
|
|
1103
|
+
casSet(conf: string, port: number, cuk: string | null, key: string, oldval: number, newval: number): boolean;
|
|
1104
|
+
casSet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, oldval: number, newval: number): boolean;
|
|
1105
|
+
casSet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, oldval: number, newval: number): boolean;
|
|
1106
|
+
|
|
1107
|
+
casSet(key: string, oldval: number, newval: number, pass: string | null): boolean;
|
|
1108
|
+
casSet(conf: string, key: string, oldval: number, newval: number, pass: string | null): boolean;
|
|
1109
|
+
casSet(conf: string, port: number, key: string, oldval: number, newval: number, pass: string | null): boolean;
|
|
1110
|
+
casSet(conf: string, port: number, cuk: string | null, key: string, oldval: number, newval: number, pass: string | null): boolean;
|
|
1111
|
+
casSet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, oldval: number, newval: number, pass: string | null): boolean;
|
|
1112
|
+
casSet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, oldval: number, newval: number, pass: string | null): boolean;
|
|
1113
|
+
|
|
1114
|
+
casSet(key: string, oldval: number, newval: number, pass: string | null, expire: number): boolean;
|
|
1115
|
+
casSet(conf: string, key: string, oldval: number, newval: number, pass: string | null, expire: number): boolean;
|
|
1116
|
+
casSet(conf: string, port: number, key: string, oldval: number, newval: number, pass: string | null, expire: number): boolean;
|
|
1117
|
+
casSet(conf: string, port: number, cuk: string | null, key: string, oldval: number, newval: number, pass: string | null, expire: number): boolean;
|
|
1118
|
+
casSet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, oldval: number, newval: number, pass: string | null, expire: number): boolean;
|
|
1119
|
+
casSet(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, oldval: number, newval: number, pass: string | null, expire: number): boolean;
|
|
1120
|
+
|
|
1121
|
+
// cas inc/dec
|
|
1122
|
+
casIncDec(key: string): boolean;
|
|
1123
|
+
casIncDec(conf: string, key: string): boolean;
|
|
1124
|
+
casIncDec(conf: string, port: number, key: string): boolean;
|
|
1125
|
+
casIncDec(conf: string, port: number, cuk: string | null, key: string): boolean;
|
|
1126
|
+
casIncDec(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string): boolean;
|
|
1127
|
+
casIncDec(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string): boolean;
|
|
1128
|
+
|
|
1129
|
+
casIncDec(key: string, is_increment: boolean): boolean;
|
|
1130
|
+
casIncDec(conf: string, key: string, is_increment: boolean): boolean;
|
|
1131
|
+
casIncDec(conf: string, port: number, key: string, is_increment: boolean): boolean;
|
|
1132
|
+
casIncDec(conf: string, port: number, cuk: string | null, key: string, is_increment: boolean): boolean;
|
|
1133
|
+
casIncDec(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, is_increment: boolean): boolean;
|
|
1134
|
+
casIncDec(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, is_increment: boolean): boolean;
|
|
1135
|
+
|
|
1136
|
+
casIncDec(key: string, is_increment: boolean, pass: string | null): boolean;
|
|
1137
|
+
casIncDec(conf: string, key: string, is_increment: boolean, pass: string | null): boolean;
|
|
1138
|
+
casIncDec(conf: string, port: number, key: string, is_increment: boolean, pass: string | null): boolean;
|
|
1139
|
+
casIncDec(conf: string, port: number, cuk: string | null, key: string, is_increment: boolean, pass: string | null): boolean;
|
|
1140
|
+
casIncDec(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, is_increment: boolean, pass: string | null): boolean;
|
|
1141
|
+
casIncDec(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, is_increment: boolean, pass: string | null): boolean;
|
|
1142
|
+
|
|
1143
|
+
casIncDec(key: string, is_increment: boolean, pass: string | null, expire: number): boolean;
|
|
1144
|
+
casIncDec(conf: string, key: string, is_increment: boolean, pass: string | null, expire: number): boolean;
|
|
1145
|
+
casIncDec(conf: string, port: number, key: string, is_increment: boolean, pass: string | null, expire: number): boolean;
|
|
1146
|
+
casIncDec(conf: string, port: number, cuk: string | null, key: string, is_increment: boolean, pass: string | null, expire: number): boolean;
|
|
1147
|
+
casIncDec(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, key: string, is_increment: boolean, pass: string | null, expire: number): boolean;
|
|
1148
|
+
casIncDec(conf: string, port: number, cuk: string | null, auto_rejoin: boolean, no_giveup_rejoin: boolean, key: string, is_increment: boolean, pass: string | null, expire: number): boolean;
|
|
1149
|
+
|
|
1150
|
+
// version
|
|
1151
|
+
printVersion(fd?: number): boolean;
|
|
1152
|
+
|
|
1153
|
+
//-----------------------------------------------------
|
|
1154
|
+
// Emitter registration/unregistration
|
|
1155
|
+
//-----------------------------------------------------
|
|
1156
|
+
on(emitter: string, cb: OnK2hdkcEmitterCallback): boolean;
|
|
1157
|
+
onInit(cb: OnK2hdkcInitEmitterCallback): boolean;
|
|
1158
|
+
onGet(cb: OnK2hdkcGetValueEmitterCallback): boolean;
|
|
1159
|
+
onGetSubkeys(cb: OnK2hdkcGetSubkeysEmitterCallback): boolean;
|
|
1160
|
+
onGetAttrs(cb: OnK2hdkcGetAttrsEmitterCallback): boolean;
|
|
1161
|
+
onSet(cb: OnK2hdkcSetValueEmitterCallback): boolean;
|
|
1162
|
+
onSetSubkeys(cb: OnK2hdkcSetSubkeysEmitterCallback): boolean;
|
|
1163
|
+
onSetAll(cb: OnK2hdkcSetAllEmitterCallback): boolean;
|
|
1164
|
+
onRemove(cb: OnK2hdkcRemoveEmitterCallback): boolean;
|
|
1165
|
+
onRename(cb: OnK2hdkcRenameEmitterCallback): boolean;
|
|
1166
|
+
onQueuePush(cb: OnK2hdkcQueuePushEmitterCallback): boolean;
|
|
1167
|
+
onQueuePop(cb: OnK2hdkcQueuePopEmitterCallback): boolean;
|
|
1168
|
+
onQueueRemove(cb: OnK2hdkcQueueRemoveEmitterCallback): boolean;
|
|
1169
|
+
onQueueDel(cb: OnK2hdkcQueueRemoveEmitterCallback): boolean; // NOTE: callback is OnK2hdkcQueueRemoveEmitterCallback
|
|
1170
|
+
onCasInit(cb: OnK2hdkcCasInitEmitterCallback): boolean;
|
|
1171
|
+
onCasGet(cb: OnK2hdkcCasGetEmitterCallback): boolean;
|
|
1172
|
+
onCasSet(cb: OnK2hdkcCasSetEmitterCallback): boolean;
|
|
1173
|
+
onCasIncDec(cb: OnK2hdkcCasIncDecEmitterCallback): boolean;
|
|
1174
|
+
|
|
1175
|
+
off(emitter: string): boolean;
|
|
1176
|
+
offInit(): boolean;
|
|
1177
|
+
offGet(): boolean;
|
|
1178
|
+
offGetSubkeys(): boolean;
|
|
1179
|
+
offGetAttrs(): boolean;
|
|
1180
|
+
offSet(): boolean;
|
|
1181
|
+
offSetSubkeys(): boolean;
|
|
1182
|
+
offSetAll(): boolean;
|
|
1183
|
+
offRemove(): boolean;
|
|
1184
|
+
offRename(): boolean;
|
|
1185
|
+
offQueuePush(): boolean;
|
|
1186
|
+
offQueuePop(): boolean;
|
|
1187
|
+
offQueueRemove(): boolean;
|
|
1188
|
+
offQueueDel(): boolean;
|
|
1189
|
+
offCasInit(): boolean;
|
|
1190
|
+
offCasGet(): boolean;
|
|
1191
|
+
offCasSet(): boolean;
|
|
1192
|
+
offCasIncDec(): boolean;
|
|
1193
|
+
|
|
1194
|
+
//-----------------------------------------------------
|
|
1195
|
+
// Promise APIs(Currently no imprelemnts)
|
|
1196
|
+
//-----------------------------------------------------
|
|
1197
|
+
// [NOTE]
|
|
1198
|
+
// Although it is not currently implemented, here is an example definition:
|
|
1199
|
+
//
|
|
1200
|
+
// ex. getValue(conf: string, key: string): Promise<boolean>;
|
|
1201
|
+
//
|
|
1202
|
+
}
|
|
1203
|
+
|
|
1204
|
+
//---------------------------------------------------------
|
|
1205
|
+
// K2hdkcFactoryType
|
|
1206
|
+
//---------------------------------------------------------
|
|
1207
|
+
export type K2hdkcFactoryType = {
|
|
1208
|
+
(): K2hdkcNode;
|
|
1209
|
+
new(): K2hdkcNode;
|
|
1210
|
+
K2hdkcNode: typeof K2hdkcNode;
|
|
1211
|
+
};
|
|
1212
|
+
} // end namespace k2hdkc
|
|
1213
|
+
|
|
1214
|
+
//-------------------------------------------------------------
|
|
1215
|
+
// Exports
|
|
1216
|
+
//-------------------------------------------------------------
|
|
1217
|
+
//
|
|
1218
|
+
// UMD global name
|
|
1219
|
+
//
|
|
1220
|
+
export as namespace k2hdkc;
|
|
1221
|
+
|
|
1222
|
+
//
|
|
1223
|
+
// CommonJS default export
|
|
1224
|
+
//
|
|
1225
|
+
export = k2hdkc;
|
|
1226
|
+
|
|
1227
|
+
//
|
|
1228
|
+
// Ambient module
|
|
1229
|
+
//
|
|
1230
|
+
// For "import", "import type" users(type-only export).
|
|
1231
|
+
// This provides named type exports(type-only).
|
|
1232
|
+
//
|
|
1233
|
+
declare module 'k2hdkc'
|
|
1234
|
+
{
|
|
1235
|
+
//
|
|
1236
|
+
// Default(value-level default import with esModuleInterop)
|
|
1237
|
+
//
|
|
1238
|
+
const _default: typeof k2hdkc;
|
|
1239
|
+
export default _default;
|
|
1240
|
+
|
|
1241
|
+
//
|
|
1242
|
+
// Type named exports
|
|
1243
|
+
//
|
|
1244
|
+
// [NOTE]
|
|
1245
|
+
// ex. "import type { K2hdkcNode } from 'k2hdkc'"
|
|
1246
|
+
//
|
|
1247
|
+
export type K2hdkcNode = k2hdkc.K2hdkcNode;
|
|
1248
|
+
export type K2hdkcFactoryType = k2hdkc.K2hdkcFactoryType;
|
|
1249
|
+
}
|
|
1250
|
+
|
|
1251
|
+
/*
|
|
1252
|
+
* Local variables:
|
|
1253
|
+
* tab-width: 4
|
|
1254
|
+
* c-basic-offset: 4
|
|
1255
|
+
* End:
|
|
1256
|
+
* vim600: noexpandtab sw=4 ts=4 fdm=marker
|
|
1257
|
+
* vim<600: noexpandtab sw=4 ts=4
|
|
1258
|
+
*/
|