Enum Class ArangoDBConfigurations
java.lang.Object
java.lang.Enum<ArangoDBConfigurations>
org.eclipse.jnosql.databases.arangodb.communication.ArangoDBConfigurations
- All Implemented Interfaces:
Serializable,Comparable<ArangoDBConfigurations>,Constable,Supplier<String>
An enumeration to show the available options to connect to the ArangoDB database.
It implements
Supplier, where its it returns the property name that might be
overwritten by the system environment using Eclipse Microprofile or Jakarta Config API.- See Also:
-
Settings
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe chunk size whenProtocolis used.The database host, where you need to put the port split by colons.Set hosts split by commaTheLoadBalancingStrategyThe maximum number of connections the built-in connection pool will open per host.The password's credentialTheProtocolThe connection and request timeout in milliseconds.The user's credential.The true SSL will be used when connecting to an ArangoDB server. -
Method Summary
Modifier and TypeMethodDescriptionget()static ArangoDBConfigurationsReturns the enum constant of this class with the specified name.static ArangoDBConfigurations[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HOST
The database host, where you need to put the port split by colons. E.g.: jnosql.arangodb.host=localhost:8529 -
USER
The user's credential. -
PASSWORD
The password's credential -
TIMEOUT
The connection and request timeout in milliseconds. -
CHUNK_SIZE
The chunk size whenProtocolis used. -
USER_SSL
The true SSL will be used when connecting to an ArangoDB server. -
LOAD_BALANCING
TheLoadBalancingStrategy -
PROTOCOL
TheProtocol -
MAX_CONNECTIONS
The maximum number of connections the built-in connection pool will open per host. -
HOST_LIST
Set hosts split by comma
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
get
-