public class EventingFunctionSettings extends Object
Modifier and Type | Class and Description |
---|---|
static class |
EventingFunctionSettings.Builder |
Modifier and Type | Method and Description |
---|---|
String |
appLogDir()
Directory to write content of log() message files.
|
long |
appLogMaxFiles()
Number of log() message files to retain when rotating.
|
long |
appLogMaxSize()
Rotate logs when file grows to this size in bytes approximately.
|
long |
bucketCacheAge()
Time in milliseconds after which a cached bucket object is considered stale.
|
long |
bucketCacheSize()
Maximum size in bytes the bucket cache can grow to.
|
static EventingFunctionSettings.Builder |
builder()
Creates the
EventingFunctionSettings.Builder which allows to customize the settings. |
Duration |
checkpointInterval()
Number of seconds before writing a progress checkpoint.
|
long |
cppWorkerThreadCount()
Number of threads each worker utilizes.
|
static EventingFunctionSettings |
create()
Creates the
EventingFunctionSettings with default properties. |
long |
curlMaxAllowedRespSize()
Maximum allowable curl call response in 'MegaBytes'.
|
EventingFunctionDcpBoundary |
dcpStreamBoundary()
Indicates where to start dcp stream from.
|
EventingFunctionDeploymentStatus |
deploymentStatus()
Indicates if the function is deployed.
|
String |
description()
Free form text for user to describe the handler.
|
boolean |
enableAppLogRotation()
Enable rotating this handlers log() message files.
|
Duration |
executionTimeout()
Maximum time the handler can run before it is forcefully terminated.
|
List<String> |
handlerFooters()
Code to automatically append to bottom of handler code.
|
List<String> |
handlerHeaders()
Code to automatically prepend to top of handler code.
|
EventingFunctionLanguageCompatibility |
languageCompatibility()
Eventing language version this handler assumes in terms of syntax and behavior.
|
long |
lcbInstCapacity()
Maximum number of libcouchbase connections that may be opened and pooled.
|
long |
lcbRetryCount()
Number of retries of retryable libcouchbase failures.
|
Duration |
lcbTimeout()
Maximum time the lcb command is waited until completion before we terminate the request.
|
EventingFunctionLogLevel |
logLevel()
Level of detail in system logging.
|
long |
numTimerPartitions()
Number of timer shards.
|
EventingFunctionProcessingStatus |
processingStatus()
Indicates if the function is running (i.e., not paused).
|
QueryScanConsistency |
queryConsistency()
Consistency level used by n1ql statements in the handler.
|
boolean |
queryPrepareAll()
Automatically prepare all n1ql statements in the handler.
|
long |
sockBatchSize()
Batch size for messages from producer to consumer.
|
Duration |
tickDuration()
Duration to log stats from this handler.
|
long |
timerContextSize()
Size limit of timer context object.
|
String |
toString() |
String |
userPrefix()
Key prefix for all data stored in metadata by this handler.
|
long |
workerCount()
Number of worker processes handler utilizes on each eventing node.
|
public static EventingFunctionSettings create()
EventingFunctionSettings
with default properties.public static EventingFunctionSettings.Builder builder()
EventingFunctionSettings.Builder
which allows to customize the settings.EventingFunctionSettings.Builder
.public EventingFunctionProcessingStatus processingStatus()
public EventingFunctionDeploymentStatus deploymentStatus()
public long cppWorkerThreadCount()
public EventingFunctionDcpBoundary dcpStreamBoundary()
public String description()
public EventingFunctionLogLevel logLevel()
public EventingFunctionLanguageCompatibility languageCompatibility()
public Duration executionTimeout()
public long lcbInstCapacity()
public long lcbRetryCount()
public Duration lcbTimeout()
public QueryScanConsistency queryConsistency()
public long numTimerPartitions()
public long sockBatchSize()
public Duration tickDuration()
public long timerContextSize()
public String userPrefix()
public long bucketCacheSize()
public long bucketCacheAge()
public long curlMaxAllowedRespSize()
public long workerCount()
public boolean queryPrepareAll()
public List<String> handlerHeaders()
public List<String> handlerFooters()
public boolean enableAppLogRotation()
public String appLogDir()
public long appLogMaxSize()
public long appLogMaxFiles()
public Duration checkpointInterval()
Copyright © 2024 Couchbase, Inc.. All rights reserved.