Uses of Class
com.couchbase.client.java.manager.eventing.EventingFunctionSettings.Builder
-
Uses of EventingFunctionSettings.Builder in com.couchbase.client.java.manager.eventing
Modifier and TypeMethodDescriptionDirectory to write content of log() message files.EventingFunctionSettings.Builder.appLogMaxFiles
(long appLogMaxFiles) Number of log() message files to retain when rotating.EventingFunctionSettings.Builder.appLogMaxSize
(long appLogMaxSize) Rotate logs when file grows to this size in bytes approximately.EventingFunctionSettings.Builder.bucketCacheAge
(long bucketCacheAge) Time in milliseconds after which a cached bucket object is considered stale.EventingFunctionSettings.Builder.bucketCacheSize
(long bucketCacheSize) Maximum size in bytes the bucket cache can grow to.EventingFunctionSettings.builder()
Creates theEventingFunctionSettings.Builder
which allows to customize the settings.EventingFunctionSettings.Builder.checkpointInterval
(Duration checkpointInterval) Number of seconds before writing a progress checkpoint.EventingFunctionSettings.Builder.cppWorkerThreadCount
(long cppWorkerThreadCount) Number of threads each worker utilizes.EventingFunctionSettings.Builder.curlMaxAllowedRespSize
(long curlMaxAllowedRespSize) Maximum allowable curl call response in 'MegaBytes'.EventingFunctionSettings.Builder.dcpStreamBoundary
(EventingFunctionDcpBoundary dcpStreamBoundary) Indicates where to start dcp stream from (beginning of time, present point).EventingFunctionSettings.Builder.description
(String description) Free form text for user to describe the handler.EventingFunctionSettings.Builder.enableAppLogRotation
(boolean enableAppLogRotation) Enable rotating this handlers log() message files.EventingFunctionSettings.Builder.executionTimeout
(Duration executionTimeout) Maximum time the handler can run before it is forcefully terminated.EventingFunctionSettings.Builder.handlerFooters
(List<String> handlerFooters) Code to automatically append to bottom of handler code.EventingFunctionSettings.Builder.handlerHeaders
(List<String> handlerHeaders) Code to automatically prepend to top of handler code.EventingFunctionSettings.Builder.languageCompatibility
(EventingFunctionLanguageCompatibility languageCompatibility) Eventing language version this handler assumes in terms of syntax and behavior.EventingFunctionSettings.Builder.lcbInstCapacity
(long lcbInstCapacity) Maximum number of libcouchbase connections that may be opened and pooled.EventingFunctionSettings.Builder.lcbRetryCount
(long lcbRetryCount) Number of retries of retriable libcouchbase failures.EventingFunctionSettings.Builder.lcbTimeout
(Duration lcbTimeout) Maximum time the lcb command is waited until completion before we terminate the request.EventingFunctionSettings.Builder.logLevel
(EventingFunctionLogLevel logLevel) Level of detail in system logging.EventingFunctionSettings.Builder.numTimerPartitions
(long numTimerPartitions) Number of timer shards.EventingFunctionSettings.Builder.queryConsistency
(QueryScanConsistency queryConsistency) Consistency level used by n1ql statements in the handler.EventingFunctionSettings.Builder.queryPrepareAll
(boolean queryPrepareAll) Automatically prepare all n1ql statements in the handler.EventingFunctionSettings.Builder.sockBatchSize
(long sockBatchSize) Batch size for messages from producer to consumer.EventingFunctionSettings.Builder.tickDuration
(Duration tickDuration) Duration to log stats from this handler.EventingFunctionSettings.Builder.timerContextSize
(long timerContextSize) Size limit of timer context object.EventingFunctionSettings.Builder.userPrefix
(String userPrefix) Key prefix for all data stored in metadata by this handler.EventingFunctionSettings.Builder.workerCount
(long workerCount) Number of worker processes handler utilizes on each eventing node.