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.
|
<A extends Annotation> |
ArangoDBAsync.Builder.annotationFieldFilter(Class<A> type,
com.arangodb.velocypack.VPackAnnotationFieldFilter<A> fieldFilter)
Deprecated.
Use
ArangoJack instead and register custom serializers and deserializers by implementing JsonSerializer and JsonDeserializer . |
<A extends Annotation> |
ArangoDBAsync.Builder.annotationFieldNaming(Class<A> type,
com.arangodb.velocypack.VPackAnnotationFieldNaming<A> fieldNaming)
Deprecated.
Use
ArangoJack instead and register custom serializers and deserializers by implementing JsonSerializer and JsonDeserializer . |
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(InputStream in) |
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.
|
<T> ArangoDBAsync.Builder |
ArangoDBAsync.Builder.registerDeserializer(Class<T> clazz,
com.arangodb.velocypack.VPackDeserializer<T> deserializer)
Deprecated.
Use
ArangoJack instead and register custom serializers and deserializers by implementing JsonSerializer and JsonDeserializer . |
<T> ArangoDBAsync.Builder |
ArangoDBAsync.Builder.registerEnclosingSerializer(Class<T> clazz,
com.arangodb.velocypack.VPackSerializer<T> serializer)
Deprecated.
Use
ArangoJack instead and register custom serializers and deserializers by implementing JsonSerializer and JsonDeserializer . |
<T> ArangoDBAsync.Builder |
ArangoDBAsync.Builder.registerInstanceCreator(Class<T> clazz,
com.arangodb.velocypack.VPackInstanceCreator<T> creator)
Deprecated.
Use
ArangoJack instead and register custom serializers and deserializers by implementing JsonSerializer and JsonDeserializer . |
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.registerJsonDeserializer(String attribute,
com.arangodb.velocypack.ValueType type,
com.arangodb.velocypack.VPackJsonDeserializer deserializer)
Deprecated.
Use
ArangoJack instead and register custom serializers and deserializers by implementing JsonSerializer and JsonDeserializer . |
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.registerJsonDeserializer(com.arangodb.velocypack.ValueType type,
com.arangodb.velocypack.VPackJsonDeserializer deserializer)
Deprecated.
Use
ArangoJack instead and register custom serializers and deserializers by implementing JsonSerializer and JsonDeserializer . |
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.registerJsonModule(com.arangodb.velocypack.VPackParserModule module)
Deprecated.
Use
ArangoJack instead and register custom modules. |
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.registerJsonModules(com.arangodb.velocypack.VPackParserModule... modules)
Deprecated.
Use
ArangoJack instead and register custom modules. |
<T> ArangoDBAsync.Builder |
ArangoDBAsync.Builder.registerJsonSerializer(Class<T> clazz,
com.arangodb.velocypack.VPackJsonSerializer<T> serializer)
Deprecated.
Use
ArangoJack instead and register custom serializers and deserializers by implementing JsonSerializer and JsonDeserializer . |
<T> ArangoDBAsync.Builder |
ArangoDBAsync.Builder.registerJsonSerializer(String attribute,
Class<T> clazz,
com.arangodb.velocypack.VPackJsonSerializer<T> serializer)
Deprecated.
Use
ArangoJack instead and register custom serializers and deserializers by implementing JsonSerializer and JsonDeserializer . |
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.registerModule(com.arangodb.velocypack.VPackModule module)
Deprecated.
Use
ArangoJack instead and register custom modules. |
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.registerModules(com.arangodb.velocypack.VPackModule... modules)
Deprecated.
Use
ArangoJack instead and register custom modules. |
<T> ArangoDBAsync.Builder |
ArangoDBAsync.Builder.registerSerializer(Class<T> clazz,
com.arangodb.velocypack.VPackSerializer<T> serializer)
Deprecated.
Use
ArangoJack instead and register custom serializers and deserializers by implementing JsonSerializer and JsonDeserializer . |
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.responseQueueTimeSamples(Integer responseQueueTimeSamples)
Setting the amount of samples kept for queue time metrics
|
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.serializer(ArangoSerialization serialization)
Replace the built-in serializer/deserializer with the given one.
|
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.setDeserializer(ArangoDeserializer deserializer)
Deprecated.
use
serializer(ArangoSerialization) instead |
ArangoDBAsync.Builder |
ArangoDBAsync.Builder.setSerializer(ArangoSerializer serializer)
Deprecated.
use
serializer(ArangoSerialization) instead |
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–2022 ArangoDB GmbH. All rights reserved.