Home
Tutorials
Getting started
Application structure
Reference
The bkjs tool
Module lifecycle
Config parameters
Modules
api
checkProxy
checkRateLimits
checkRedirectPlaceholders
cleanupHeaders
cleanupResult
createWebServer
getResultPage
getTokenSecret
handleBody
handleCleanup
handleMetrics
handleMultipart
init
prepareOptions
prepareRequest
registerPreHeaders
registerRateLimits
sendFile
sendFormatted
sendJSON
sendReply
sendStatus
shutdown
startMetrics
toParams
app
addModule
ainit
arunMethods
checkConfig
createRepl
describeArgs
init
isOk
killBackend
loadModules
loadPackages
mime
parseArgs
parseConfig
processArg
processArgs
processEnvArgs
processName
runMethod
runMethods
setHome
setHost
setLogInspect
setRole
sortModules
start
startRepl
stop
watchTmp
aws
aws.cwGetMetricData
aws.cwListMetrics
aws.cwPutLogEvents
aws.cwPutMetricAlarm
aws.cwPutMetricData
aws.cwlFilterLogEvents
aws.ddbBatchGetItem
aws.ddbBatchWriteItem
aws.ddbCreateTable
aws.ddbDeleteItem
aws.ddbDeleteTable
aws.ddbDescribeTable
aws.ddbGetItem
aws.ddbPutItem
aws.ddbQueryTable
aws.ddbScanTable
aws.ddbTransactWriteItems
aws.ddbUpdateItem
aws.ddbUpdateTable
aws.ddbUpdateTimeToLive
aws.ddbWaitForTable
aws.queryCW
aws.queryCWL
aws.querySQS
aws.sqsReceiveMessage
aws.sqsSendMessage
cache
db
aadd
abatch
abulk
acopy
acreate
add
adel
adelAll
adrop
aget
aincr
alist
applyPoolOptions
aput
aquery
ascan
asearch
aselect
asql
atransaction
aupdate
aupdateAll
aupgrade
batch
bulk
cacheColumns
configTypes
convertError
convertRows
copy
create
createTables
del
delAll
describeTables
drop
get
getCached
getConfig
getPool
getPoolTables
getPools
getProcessRows
incr
init
initColumns
initConfig
initTables
list
prepare
prepareColumn
prepareQuery
prepareRequest
put
query
queryProcessSync
refreshColumns
runProcessRows
scan
search
select
setConfig
setProcessColumns
setProcessRow
sql
transaction
update
updateAll
upgrade
db/elasticsearch
events
putEvent
httpGet
ahttpGet
httpGet
ipc
jobs
submitJob
lib
__
base64ToJson
call
clock
configParse
daysInMonth
decodeURIComponent
deferCallback
deferInterval
deferShutdown
encodeURIComponent
entityToText
escapeUnicode
fromBase32
fromBase62
fromBase64url
getArg
getArgInt
getHashid
getWorkers
hash
isArg
isDST
isTimeRange
jsonFormat
jsonFormatPreset
jsonParse
jsonToBase64
killWorkers
loadLocale
localEpoch
log
murmurHash3
newError
notifyWorkers
now
objClone
objSize
parseCookies
parseTime
runCallback
shuffle
sleep
slug
sortByVersion
strftimeMap
stringify
suuid
textToEntity
textToXml
toAge
toBase32
toBase62
toBase64url
toBool
toCamel
toClamp
toDate
toDigits
toDuration
toEmail
toFlags
toFormat
toMtime
toNumber
toParams
toPrice
toRFC3339
toRegexp
toRegexpMap
toRegexpObj
toSize
toString
toTemplate
toTitle
toUncamel
toUrl
toValue
toVersion
traceError
tryCall
tryCatch
tryLater
tzName
unescape
unicode2Ascii
uuid
weekDate
weekOfYear
xmlParse
onDeferCallback
ParamsOptions
logger
debug
dev
error
info
log
logger
none
prefix
registerLevel
setDebugFilter
setFile
setLevel
setOptions
setSyslog
trace
warn
logwatcher
metrics
toJSON
modules
push
callback
queue
sendmail
shell
shellCommand
sql
column
create
delete
drop
expr
get
insert
limit
quote
select
time
update
upgrade
value
valueIn
where
stats
ws
Classes
Counter
DbPool
Histogram
Meter
Pool
SqlPool
Timer
WebpushClient
CacheClient
applyOptions
clear
close
del
get
incr
limiter
lock
put
stats
unlock
LocalClient
RedisClient
WorkerClient
ElasticsearchPool
httpGetRequest
parseCookies
toJSON
EventBridgeClient
JSONClient
LocalClient
NatsClient
QueueClient
channel
monitor
schedule
RedisClient
SNSClient
SQSClient
WorkerClient
Global
ConfigOptions
DBConfigOptions
DBRequest
DBRequestColumn
DBRequestOptions
DBResultCallback
DBTable
DBTableColumn
TokenBucket
Trace
mod
net
LocalClient
module:cache
.
LocalClient
Client that uses the local process or server process for jobs.
Constructor
new LocalClient
()