Package | Description |
---|---|
org.apache.tinkerpop.gremlin.driver |
Modifier and Type | Method and Description |
---|---|
Cluster.Builder |
Cluster.Builder.addContactPoint(String address) |
Cluster.Builder |
Cluster.Builder.addContactPoints(String... addresses) |
Cluster.Builder |
Cluster.Builder.authProperties(AuthProperties authProps) |
static Cluster.Builder |
Cluster.build() |
static Cluster.Builder |
Cluster.build(File configurationFile) |
static Cluster.Builder |
Cluster.build(String address) |
Cluster.Builder |
Cluster.Builder.credentials(String username,
String password) |
Cluster.Builder |
Cluster.Builder.enableSsl(boolean enable)
Enables connectivity over SSL - note that the server should be configured with SSL turned on for this
setting to work properly.
|
Cluster.Builder |
Cluster.Builder.jaasEntry(String jaasEntry) |
Cluster.Builder |
Cluster.Builder.loadBalancingStrategy(LoadBalancingStrategy loadBalancingStrategy) |
Cluster.Builder |
Cluster.Builder.maxConnectionPoolSize(int maxSize)
The maximum size that the
ConnectionPool can grow. |
Cluster.Builder |
Cluster.Builder.maxContentLength(int maxContentLength)
The maximum size in bytes of any request sent to the server.
|
Cluster.Builder |
Cluster.Builder.maxInProcessPerConnection(int maxInProcessPerConnection)
The maximum number of in-flight requests that can occur on a
Connection . |
Cluster.Builder |
Cluster.Builder.maxSimultaneousUsagePerConnection(int maxSimultaneousUsagePerConnection)
The maximum number of times that a
Connection can be borrowed from the pool simultaneously. |
Cluster.Builder |
Cluster.Builder.maxWaitForConnection(int maxWait)
The maximum amount of time to wait for a connection to be borrowed from the connection pool.
|
Cluster.Builder |
Cluster.Builder.minConnectionPoolSize(int minSize)
The minimum size of the
ConnectionPool . |
Cluster.Builder |
Cluster.Builder.minInProcessPerConnection(int minInProcessPerConnection)
The minimum number of in-flight requests that can occur on a
Connection before it is considered
for closing on return to the ConnectionPool . |
Cluster.Builder |
Cluster.Builder.minSimultaneousUsagePerConnection(int minSimultaneousUsagePerConnection)
The minimum number of times that a
Connection should be borrowed from the pool before it falls
under consideration for closing. |
Cluster.Builder |
Cluster.Builder.nioPoolSize(int nioPoolSize)
Size of the pool for handling request/response operations.
|
Cluster.Builder |
Cluster.Builder.port(int port) |
Cluster.Builder |
Cluster.Builder.protocol(String protocol) |
Cluster.Builder |
Cluster.Builder.reconnectInterval(int interval)
Time in milliseconds to wait between retries when attempting to reconnect to a dead host.
|
Cluster.Builder |
Cluster.Builder.reconnectIntialDelay(int initialDelay)
Time in milliseconds to wait before attempting to reconnect to a dead host after it has been marked dead.
|
Cluster.Builder |
Cluster.Builder.resultIterationBatchSize(int size)
Override the server setting that determines how many results are returned per batch.
|
Cluster.Builder |
Cluster.Builder.serializer(MessageSerializer serializer)
Sets the
MessageSerializer to use. |
Cluster.Builder |
Cluster.Builder.serializer(Serializers mimeType)
Set the
MessageSerializer to use via the Serializers enum. |
Cluster.Builder |
Cluster.Builder.serializer(String mimeType)
Set the
MessageSerializer to use given its MIME type. |
Cluster.Builder |
Cluster.Builder.workerPoolSize(int workerPoolSize)
Size of the pool for handling background work.
|
Copyright © 2013–2015 Apache Software Foundation. All rights reserved.