Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EventingFunctionSettings

Specifies a number of options which can be used when updating or creating a eventing function.

Hierarchy

  • EventingFunctionSettings

Index

Constructors

constructor

Properties

appLogDir

appLogDir: string

The directory to write content of log() message files.

appLogMaxFiles

appLogMaxFiles: number

The number of log() message files to retain when rotating.

appLogMaxSize

appLogMaxSize: number

The size in bytes of the log file when the file should be rotated.

bucketCacheAge

bucketCacheAge: number

The time in milliseconds after which a cached bucket object is considered stale.

bucketCacheSize

bucketCacheSize: number

The maximum size in bytes the bucket cache can grow to.

checkpointInterval

checkpointInterval: number

The number of seconds before writing a progress checkpoint.

cppWorkerThreadCount

cppWorkerThreadCount: number

The number of worker threads to use for the function.

curlMaxAllowedRespSize

curlMaxAllowedRespSize: number

The maximum allowable curl call response in 'MegaBytes'. Setting the value to 0 lifts the upper limit off. This parameters affects v8 engine stability since it defines the maximum amount of heap space acquired by a curl call.

dcpStreamBoundary

dcpStreamBoundary: EventingFunctionDcpBoundary

The DCP stream boundary to use.

deploymentStatus

The current deployment status of the function.

description

description: string

A description of this eventing function.

enableAppLogRotation

enableAppLogRotation: boolean

Whether to enable rotating this handlers log() message files.

executionTimeout

executionTimeout: number

The maximum period of time the function can execute on a document before timing out.

handlerFooters

handlerFooters: string[]

The code to automatically append to bottom of handler code.

handlerHeaders

handlerHeaders: string[]

The code to automatically prepend to top of handler code.

languageCompatibility

The active compatibility mode for the function.

lcbInstCapacity

lcbInstCapacity: number

The maximum number of internal clients that the function should maintain for KV operations.

lcbRetryCount

lcbRetryCount: number

The maximum number of times to retry a KV operation before failing the function.

lcbTimeout

lcbTimeout: number

The maximum period of time a KV operation within the function can operate before timing out.

logLevel

The level of logging that should be captured for the function.

numTimerPartitions

numTimerPartitions: number

The number of partitions that should be used for timer tracking.

processingStatus

The current processing status of the function.

queryConsistency

queryConsistency: QueryScanConsistency

The level of consistency to use when performing queries in the function.

queryPrepareAll

queryPrepareAll: boolean

Whether to automatically prepare all query statements in the handler.

sockBatchSize

sockBatchSize: number

The batch size for messages from producer to consumer.

tickDuration

tickDuration: number

The duration to log stats from this handler, in milliseconds.

timerContextSize

timerContextSize: number

The size limit of timer context object.

userPrefix

userPrefix: string

The key prefix for all data stored in metadata by this handler.

workerCount

workerCount: number

The number of worker processes handler utilizes on each eventing node.

Generated using TypeDoc