Package | Description |
---|---|
com.arangodb.async |
Modifier and Type | Method and Description |
---|---|
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.acquireHostList(Boolean acquireHostList)
Whether or not the driver should acquire a list of available coordinators in an ArangoDB cluster or a single
server with active failover.
|
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.chunksize(Integer chunksize)
Sets the chunk size when
Protocol.VST is used. |
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.connectionTtl(Long connectionTtl)
Set the maximum time to life of a connection.
|
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.host(String host,
int port)
Adds a host to connect to.
|
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.jwt(String jwt)
Sets the JWT for the user authentication.
|
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.keepAliveInterval(Integer keepAliveInterval)
Set the keep-alive interval for VST connections.
|
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.loadBalancingStrategy(LoadBalancingStrategy loadBalancingStrategy)
Sets the load balancing strategy to be used in an ArangoDB cluster setup.
|
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.loadProperties(ArangoConfigProperties config) |
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.maxConnections(Integer maxConnections)
Sets the maximum number of connections the built in connection pool will open.
|
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.password(String password)
Sets the password for the user for authentication.
|
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.responseQueueTimeSamples(Integer responseQueueTimeSamples)
Setting the amount of samples kept for queue time metrics
|
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.serializer(ArangoSerde serialization)
Replace the built-in serializer/deserializer with the given one.
|
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.sslContext(SSLContext sslContext)
Sets the SSL context to be used when
true is passed through useSsl(Boolean) . |
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.timeout(Integer timeout)
Sets the timeout in milliseconds.
|
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.user(String user)
Sets the username to use for authentication.
|
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.useSsl(Boolean useSsl)
If set to
true SSL will be used when connecting to an ArangoDB server. |
Copyright © 2016–2023 ArangoDB GmbH. All rights reserved.