Package com.arangodb.config
Interface ArangoConfigProperties
public interface ArangoConfigProperties
-
Method Summary
Modifier and TypeMethodDescriptionstatic ArangoConfigPropertiesfromFile()Reads properties from file arangodb.properties.static ArangoConfigPropertiesReads properties from filefileName.static ArangoConfigPropertiesReads properties from filefileName.static ArangoConfigPropertiesfromProperties(Properties properties) CreatesArangoConfigPropertiesfrom Java properties (Properties).static ArangoConfigPropertiesfromProperties(Properties properties, String prefix) CreatesArangoConfigPropertiesfrom Java properties (Properties).default Optional<Compression>default Optional<List<HostDescription>>getHosts()getJwt()default Optional<LoadBalancingStrategy>getUser()
-
Method Details
-
fromFile
Reads properties from file arangodb.properties. Properties must be prefixed with @{code "arangodb"}, eg. @{code "arangodb.hosts=localhost:8529"}. -
fromFile
Reads properties from filefileName. Properties must be prefixed with @{code "arangodb"}, eg. @{code "arangodb.hosts=localhost:8529"}. -
fromFile
Reads properties from filefileName. Properties must be prefixed with @{code prefix}, eg. @{code ".hosts=localhost:8529"}. -
fromProperties
CreatesArangoConfigPropertiesfrom Java properties (Properties). Properties must be prefixed with @{code "arangodb"}, eg. @{code "arangodb.hosts=localhost:8529"}. -
fromProperties
CreatesArangoConfigPropertiesfrom Java properties (Properties). Properties must be prefixed with @{code prefix}, eg. @{code ".hosts=localhost:8529"}. -
getHosts
-
getProtocol
-
getUser
-
getPassword
-
getJwt
-
getTimeout
-
getUseSsl
-
getVerifyHost
-
getChunkSize
-
getMaxConnections
-
getConnectionTtl
-
getKeepAliveInterval
-
getAcquireHostList
-
getAcquireHostListInterval
-
getLoadBalancingStrategy
-
getResponseQueueTimeSamples
-
getCompression
-
getCompressionThreshold
-
getCompressionLevel
-
getSerdeProviderClass
-