Class EventingFunctionSettings
java.lang.Object
com.couchbase.client.java.manager.eventing.EventingFunctionSettings
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionDirectory to write content of log() message files.longNumber of log() message files to retain when rotating.longRotate logs when file grows to this size in bytes approximately.longTime in milliseconds after which a cached bucket object is considered stale.longMaximum size in bytes the bucket cache can grow to.builder()Creates theEventingFunctionSettings.Builderwhich allows to customize the settings.Number of seconds before writing a progress checkpoint.longNumber of threads each worker utilizes.static EventingFunctionSettingscreate()Creates theEventingFunctionSettingswith default properties.longMaximum allowable curl call response in 'MegaBytes'.Indicates where to start dcp stream from.Indicates if the function is deployed.Free form text for user to describe the handler. no functional role.booleanEnable rotating this handlers log() message files.Maximum time the handler can run before it is forcefully terminated.Code to automatically append to bottom of handler code.Code to automatically prepend to top of handler code.Eventing language version this handler assumes in terms of syntax and behavior.longMaximum number of libcouchbase connections that may be opened and pooled.longNumber of retries of retryable libcouchbase failures.Maximum time the lcb command is waited until completion before we terminate the request.logLevel()Level of detail in system logging.longNumber of timer shards. defaults to number of vbuckets.Indicates if the function is running (i.e., not paused).Consistency level used by n1ql statements in the handler.booleanAutomatically prepare all n1ql statements in the handler.longBatch size for messages from producer to consumer.Duration to log stats from this handler.longSize limit of timer context object.toString()Key prefix for all data stored in metadata by this handler.longNumber of worker processes handler utilizes on each eventing node.
- 
Method Details- 
createCreates theEventingFunctionSettingswith default properties.- Returns:
- the build settings.
 
- 
builderCreates theEventingFunctionSettings.Builderwhich allows to customize the settings.- Returns:
- the EventingFunctionSettings.Builder.
 
- 
processingStatusIndicates if the function is running (i.e., not paused).
- 
deploymentStatusIndicates if the function is deployed.
- 
cppWorkerThreadCountpublic long cppWorkerThreadCount()Number of threads each worker utilizes.
- 
dcpStreamBoundaryIndicates where to start dcp stream from.
- 
descriptionFree form text for user to describe the handler. no functional role.
- 
logLevelLevel of detail in system logging.
- 
languageCompatibilityEventing language version this handler assumes in terms of syntax and behavior.
- 
executionTimeoutMaximum time the handler can run before it is forcefully terminated.
- 
lcbInstCapacitypublic long lcbInstCapacity()Maximum number of libcouchbase connections that may be opened and pooled.
- 
lcbRetryCountpublic long lcbRetryCount()Number of retries of retryable libcouchbase failures.
- 
lcbTimeoutMaximum time the lcb command is waited until completion before we terminate the request.
- 
queryConsistencyConsistency level used by n1ql statements in the handler.
- 
numTimerPartitionspublic long numTimerPartitions()Number of timer shards. defaults to number of vbuckets.
- 
sockBatchSizepublic long sockBatchSize()Batch size for messages from producer to consumer.
- 
tickDurationDuration to log stats from this handler.
- 
timerContextSizepublic long timerContextSize()Size limit of timer context object.
- 
userPrefixKey prefix for all data stored in metadata by this handler.
- 
bucketCacheSizepublic long bucketCacheSize()Maximum size in bytes the bucket cache can grow to.
- 
bucketCacheAgepublic long bucketCacheAge()Time in milliseconds after which a cached bucket object is considered stale.
- 
curlMaxAllowedRespSizepublic long curlMaxAllowedRespSize()Maximum allowable curl call response in 'MegaBytes'.
- 
workerCountpublic long workerCount()Number of worker processes handler utilizes on each eventing node.
- 
queryPrepareAllpublic boolean queryPrepareAll()Automatically prepare all n1ql statements in the handler.
- 
handlerHeadersCode to automatically prepend to top of handler code.
- 
enableAppLogRotationpublic boolean enableAppLogRotation()Enable rotating this handlers log() message files.
- 
appLogDirDirectory to write content of log() message files.
- 
appLogMaxSizepublic long appLogMaxSize()Rotate logs when file grows to this size in bytes approximately.
- 
appLogMaxFilespublic long appLogMaxFiles()Number of log() message files to retain when rotating.
- 
checkpointIntervalNumber of seconds before writing a progress checkpoint.
- 
toString
 
-