Package com.fauna.constants
Class Defaults
- java.lang.Object
-
- com.fauna.constants.Defaults
-
public final class Defaults extends java.lang.ObjectDefines default constants used throughout the Fauna client.The
Defaultsclass includes constants for configuration settings, such as timeouts, retry limits, and default secrets, that provide sensible defaults for common client operations.
-
-
Field Summary
Fields Modifier and Type Field Description static java.time.DurationCLIENT_TIMEOUT_BUFFERThe buffer duration added to the client timeout to ensure safe execution time.static java.time.DurationDEFAULT_TIMEOUTThe default timeout duration for client requests.static java.lang.StringLOCAL_FAUNA_SECRETThe default secret for local Fauna deployments created using the Fauna Docker image.static intMAX_CONTENTION_RETRIESThe maximum number of retries allowed for handling transaction contention.
-
-
-
Field Detail
-
CLIENT_TIMEOUT_BUFFER
public static final java.time.Duration CLIENT_TIMEOUT_BUFFER
The buffer duration added to the client timeout to ensure safe execution time.
-
DEFAULT_TIMEOUT
public static final java.time.Duration DEFAULT_TIMEOUT
The default timeout duration for client requests.
-
LOCAL_FAUNA_SECRET
public static final java.lang.String LOCAL_FAUNA_SECRET
The default secret for local Fauna deployments created using the Fauna Docker image.- See Also:
- Constant Field Values
-
MAX_CONTENTION_RETRIES
public static final int MAX_CONTENTION_RETRIES
The maximum number of retries allowed for handling transaction contention.- See Also:
- Constant Field Values
-
-