Show / Hide Table of Contents

Class Constants

A class holding predefined constant default values for various classes

Note

This file was autogenerated by a Couchbase script

Inheritance
System.Object
Constants
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Couchbase.Lite.Info
Assembly: Couchbase.Lite.dll
Syntax
public static class Constants

Fields

| Improve this Doc View Source

DefaultDatabaseFullSync

Default value for FullSync (false) Full sync is off by default because the performance hit is seldom worth the benefit

Declaration
public static readonly bool DefaultDatabaseFullSync
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultDatabaseMmapEnabled

Default value for MmapEnabled (true) Memory mapped database files are enabled by default

Declaration
public static readonly bool DefaultDatabaseMmapEnabled
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultFileLogSinkMaxKeptFiles

Default value for (2) 2 files preserved during each log rotation

Declaration
public static readonly int DefaultFileLogSinkMaxKeptFiles
Field Value
Type Description
System.Int32
| Improve this Doc View Source

DefaultFileLogSinkMaxSize

Default value for (524288) 512 KiB for the size of a log file

Declaration
public static readonly long DefaultFileLogSinkMaxSize
Field Value
Type Description
System.Int64
| Improve this Doc View Source

DefaultFileLogSinkUsePlaintext

Default value for (false) Plaintext is not used, and instead binary encoding is used in log files

Declaration
public static readonly bool DefaultFileLogSinkUsePlaintext
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultFullTextIndexIgnoreAccents

Default value for IgnoreAccents (false) Accents and ligatures are not ignored when indexing via full text search

Declaration
public static readonly bool DefaultFullTextIndexIgnoreAccents
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultListenerDisableTls

Default value for DisableTLS (false) TLS is enabled on the connection

Declaration
public static readonly bool DefaultListenerDisableTls
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultListenerEnableDeltaSync

Default value for EnableDeltaSync (false) Delta sync is disabled for the listener

Declaration
public static readonly bool DefaultListenerEnableDeltaSync
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultListenerPort

Default value for Port (0) No port specified, the OS will assign one

Declaration
public static readonly ushort DefaultListenerPort
Field Value
Type Description
System.UInt16
| Improve this Doc View Source

DefaultListenerReadOnly

Default value for ReadOnly (false) The listener will allow database writes

Declaration
public static readonly bool DefaultListenerReadOnly
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultLogFileMaxRotateCount

Default value for MaxRotateCount (1) 1 rotated file present (2 total, including the currently active log file)

Declaration
public static readonly int DefaultLogFileMaxRotateCount
Field Value
Type Description
System.Int32
| Improve this Doc View Source

DefaultLogFileMaxSize

Default value for MaxSize (524288) 512 KiB for the size of a log file

Declaration
public static readonly long DefaultLogFileMaxSize
Field Value
Type Description
System.Int64
| Improve this Doc View Source

DefaultLogFileUsePlaintext

Default value for UsePlaintext (false) Plaintext is not used, and instead binary encoding is used in log files

Declaration
public static readonly bool DefaultLogFileUsePlaintext
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultLogFileUsePlainText

Default value for UsePlaintext (false) Plaintext is not used, and instead binary encoding is used in log files

Declaration
[Obsolete("Use Constants.UsePlantext instead")]
public static readonly bool DefaultLogFileUsePlainText
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultReplicatorAcceptParentCookies

Default value for AcceptParentDomainCookies (false) Whether or not a replicator only accepts cookies for the sender's parent domains

Declaration
public static readonly bool DefaultReplicatorAcceptParentCookies
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultReplicatorContinuous

Default value for Continuous (false) One-shot replication is used, and will stop once all initial changes are processed

Declaration
public static readonly bool DefaultReplicatorContinuous
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultReplicatorEnableAutoPurge

Default value for EnableAutoPurge (true) Purge documents when a user loses access

Declaration
public static readonly bool DefaultReplicatorEnableAutoPurge
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultReplicatorHeartbeat

Default value for Heartbeat (TimeSpan.FromSeconds(300)) A heartbeat messages is sent every 300 seconds to keep the connection alive

Declaration
public static readonly TimeSpan DefaultReplicatorHeartbeat
Field Value
Type Description
System.TimeSpan
| Improve this Doc View Source

DefaultReplicatorMaxAttemptsContinuous

Default value for MaxAttempts (Int32.MaxValue) When replicator is continuous, never give up unless explicitly stopped

Declaration
public static readonly int DefaultReplicatorMaxAttemptsContinuous
Field Value
Type Description
System.Int32
| Improve this Doc View Source

DefaultReplicatorMaxAttemptsSingleShot

Default value for MaxAttempts (10) When replicator is not continuous, after 10 failed attempts give up on the replication

Declaration
public static readonly int DefaultReplicatorMaxAttemptsSingleShot
Field Value
Type Description
System.Int32
| Improve this Doc View Source

DefaultReplicatorMaxAttemptsWaitTime

Default value for MaxAttemptsWaitTime (TimeSpan.FromSeconds(300)) Max wait time between retry attempts in seconds

Declaration
public static readonly TimeSpan DefaultReplicatorMaxAttemptsWaitTime
Field Value
Type Description
System.TimeSpan
| Improve this Doc View Source

DefaultReplicatorMaxAttemptWaitTime

Default value for MaxAttemptsWaitTime (TimeSpan.FromSeconds(300)) Max wait time between retry attempts in seconds

Declaration
[Obsolete("Use Constants.DefaultReplicatorMaxAttemptsWaitTime (attempt -> attemps) instead")]
public static readonly TimeSpan DefaultReplicatorMaxAttemptWaitTime
Field Value
Type Description
System.TimeSpan
| Improve this Doc View Source

DefaultReplicatorSelfSignedCertificateOnly

Default value for AcceptOnlySelfSignedServerCertificate (false) Whether or not a replicator only accepts self-signed certificates from the remote

Declaration
public static readonly bool DefaultReplicatorSelfSignedCertificateOnly
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultReplicatorType

Default value for ReplicatorType (ReplicatorType.PushAndPull) Perform bidirectional replication

Declaration
public static readonly ReplicatorType DefaultReplicatorType
Field Value
Type Description
ReplicatorType
| Improve this Doc View Source

DefaultVectorIndexDistanceMetric

Default value for DistanceMetric (DistanceMetric.EuclideanSquared) By default, vectors are compared using squared Euclidean metrics

Declaration
public static readonly DistanceMetric DefaultVectorIndexDistanceMetric
Field Value
Type Description
DistanceMetric
| Improve this Doc View Source

DefaultVectorIndexEncoding

Default value for Encoding (ScalarQuantizerType.SQ8) Vectors are encoded by using 8-bit Scalar Quantizer encoding, by default

Declaration
public static readonly ScalarQuantizerType DefaultVectorIndexEncoding
Field Value
Type Description
ScalarQuantizerType
| Improve this Doc View Source

DefaultVectorIndexIsLazy

Default value for IsLazy (false) Vectors are not lazily indexed, by default

Declaration
public static readonly bool DefaultVectorIndexIsLazy
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

DefaultVectorIndexMaxTrainingSize

Default value for MaxTrainingSize (0) By default, the value will be determined based on the number of centroids, encoding types, and the encoding parameters

Declaration
public static readonly uint DefaultVectorIndexMaxTrainingSize
Field Value
Type Description
System.UInt32
| Improve this Doc View Source

DefaultVectorIndexMinTrainingSize

Default value for MinTrainingSize (0) By default, the value will be determined based on the number of centroids, encoding types, and the encoding parameters.

Declaration
public static readonly uint DefaultVectorIndexMinTrainingSize
Field Value
Type Description
System.UInt32
| Improve this Doc View Source

DefaultVectorIndexNumProbes

Default value for NumProbes (0) By default, the value will be determined based on the number of centroids.

Declaration
public static readonly uint DefaultVectorIndexNumProbes
Field Value
Type Description
System.UInt32
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX