Members
(protected, static) this.cache :lowdb
- Source:
state cache
Type:
- lowdb
(protected, static) this.db :lowdb
- Source:
db.json
Type:
- lowdb
Methods
bulkES()
- Source:
upload lots of data to ES with bulk API
(protected) cacheStates(endnode)
- Source:
cache states into cache.json
Parameters:
Name | Type | Description |
---|---|---|
endnode |
EndNodee |
(protected) gcByCounter()
- Source:
gc by count
Returns:
(protected) gcByTime()
- Source:
gc by time
Returns:
(abstract) onboardGatewayByOwner(propertiesopt)
- Source:
onboard gateway by owner
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
properties |
any |
<optional> |
setApp(_appID, _appKey, _site)
- Source:
set kii app
Parameters:
Name | Type | Description |
---|---|---|
_appID |
any | |
_appKey |
any | |
_site |
any |
setUser(ownerToken, ownerID)
- Source:
set user
Parameters:
Name | Type | Description |
---|---|---|
ownerToken |
any | |
ownerID |
any |
today() → {string}
- Source:
today date
Returns:
- Type
- string