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>

public enum ArangoDBConfigurations extends Enum<ArangoDBConfigurations> implements 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
  • Enum Constant Details

    • HOST

      public static final ArangoDBConfigurations HOST
      The database host, where you need to put the port split by colons. E.g.: jnosql.arangodb.host=localhost:8529
    • USER

      public static final ArangoDBConfigurations USER
      The user's credential.
    • PASSWORD

      public static final ArangoDBConfigurations PASSWORD
      The password's credential
    • TIMEOUT

      public static final ArangoDBConfigurations TIMEOUT
      The connection and request timeout in milliseconds.
    • CHUNK_SIZE

      public static final ArangoDBConfigurations CHUNK_SIZE
      The chunk size when Protocol is used.
    • USER_SSL

      public static final ArangoDBConfigurations USER_SSL
      The true SSL will be used when connecting to an ArangoDB server.
    • LOAD_BALANCING

      public static final ArangoDBConfigurations LOAD_BALANCING
      The LoadBalancingStrategy
    • PROTOCOL

      public static final ArangoDBConfigurations PROTOCOL
      The Protocol
    • MAX_CONNECTIONS

      public static final ArangoDBConfigurations MAX_CONNECTIONS
      The maximum number of connections the built-in connection pool will open per host.
    • HOST_LIST

      public static final ArangoDBConfigurations HOST_LIST
      Set hosts split by comma
  • Method Details

    • values

      public static ArangoDBConfigurations[] 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

      public static ArangoDBConfigurations valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • get

      public String get()
      Specified by:
      get in interface Supplier<String>