Package com.arangodb.config
Interface ArangoConfigProperties
- All Known Implementing Classes:
ArangoConfigPropertiesImpl
public interface ArangoConfigProperties
-
Method Summary
Modifier and TypeMethodDescriptionstatic ArangoConfigProperties
fromFile()
Reads properties from file arangodb.properties.static ArangoConfigProperties
Reads properties from filefileName
.static ArangoConfigProperties
Reads properties from filefileName
.static ArangoConfigProperties
fromProperties
(Properties properties) CreatesArangoConfigProperties
from Java properties (Properties
).static ArangoConfigProperties
fromProperties
(Properties properties, String prefix) CreatesArangoConfigProperties
from 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
CreatesArangoConfigProperties
from Java properties (Properties
). Properties must be prefixed with @{code "arangodb"}, eg. @{code "arangodb.hosts=localhost:8529"}. -
fromProperties
CreatesArangoConfigProperties
from 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
-