[−][src]Enum foundationdb::options::NetworkOption
Variants (Non-exhaustive)
LocalAddress(String)
IP:PORT
Deprecated
ClusterFile(String)
path to cluster file
Deprecated
TraceEnable(String)
path to output directory (or NULL for current working directory)
Enables trace output to a file in a directory of the clients choosing
TraceRollSize(i32)
max size of a single trace output file
Sets the maximum size in bytes of a single trace output file. This value should be in the range [0, INT64_MAX]
. If the value is set to 0, there is no limit on individual file size. The default is a maximum size of 10,485,760 bytes.
TraceMaxLogsSize(i32)
max total size of trace files
Sets the maximum size of all the trace output files put together. This value should be in the range [0, INT64_MAX]
. If the value is set to 0, there is no limit on the total size of the files. The default is a maximum size of 104,857,600 bytes. If the default roll size is used, this means that a maximum of 10 trace files will be written at a time.
TraceLogGroup(String)
value of the LogGroup attribute
Sets the 'LogGroup' attribute with the specified value for all events in the trace output files. The default log group is 'default'.
TraceFormat(String)
Format of trace files
Select the format of the log files. xml (the default) and json are supported.
Knob(String)
knob_name=knob_value
Set internal tuning or debugging knobs
TLSPlugin(String)
file path or linker-resolved name
Deprecated
certificates
Set the certificate chain
TLSCertPath(String)
file path
Set the file from which to load the certificate chain
key
Set the private key corresponding to your own certificate
TLSKeyPath(String)
file path
Set the file from which to load the private key corresponding to your own certificate
verification pattern
Set the peer certificate field verification criteria
BuggifySectionActivatedProbability(i32)
probability expressed as a percentage between 0 and 100
Set the probability of a BUGGIFY section being active for the current execution. Only applies to code paths first traversed AFTER this option is changed.
BuggifySectionFiredProbability(i32)
probability expressed as a percentage between 0 and 100
Set the probability of an active BUGGIFY section being fired
ca bundle
Set the ca bundle
TLSCaPath(String)
file path
Set the file from which to load the certificate authority bundle
TLSPassword(String)
key passphrase
Set the passphrase for encrypted private key. Password should be set before setting the key for the password to be used.
Disables the multi-version client API and instead uses the local client directly. Must be set before setting up the network.
If set, callbacks from external client libraries can be called from threads created by the FoundationDB client library. Otherwise, callbacks will be called from either the thread used to add the callback or the network thread. Setting this option can improve performance when connected using an external client, but may not be safe to use in all environments. Must be set before setting up the network. WARNING: This feature is considered experimental at this time.
ExternalClientLibrary(String)
path to client library
Adds an external client library for use by the multi-version client API. Must be set before setting up the network.
ExternalClientDirectory(String)
path to directory containing client libraries
Searches the specified path for dynamic libraries and adds them to the list of client libraries for use by the multi-version client API. Must be set before setting up the network.
Prevents connections through the local client, allowing only connections through externally loaded client libraries. Intended primarily for testing.
Disables logging of client statistics, such as sampled transaction activity.
Enables debugging feature to perform slow task profiling. Requires trace logging to be enabled. WARNING: this feature is not recommended for use in production.
Enable client buggify - will make requests randomly fail (intended for client testing)
Disable client buggify
ClientBuggifySectionActivatedProbability(i32)
probability expressed as a percentage between 0 and 100
Set the probability of a CLIENT_BUGGIFY section being active for the current execution.
ClientBuggifySectionFiredProbability(i32)
probability expressed as a percentage between 0 and 100
Set the probability of an active CLIENT_BUGGIFY section being fired. A section will only fire if it was activated
Implementations
impl NetworkOption
[src]
Trait Implementations
impl Clone for NetworkOption
[src]
fn clone(&self) -> NetworkOption
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for NetworkOption
[src]
Auto Trait Implementations
impl RefUnwindSafe for NetworkOption
impl Send for NetworkOption
impl Sync for NetworkOption
impl Unpin for NetworkOption
impl UnwindSafe for NetworkOption
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,