Uses of Class
org.apache.tinkerpop.gremlin.driver.Cluster.Builder
Packages that use Cluster.Builder
-
Uses of Cluster.Builder in org.apache.tinkerpop.gremlin.driver
Methods in org.apache.tinkerpop.gremlin.driver that return Cluster.BuilderModifier and TypeMethodDescriptionCluster.Builder.addContactPoint(String address) Adds the address of a Gremlin Server to the list of servers aClientwill try to contact to send requests to.Cluster.Builder.addContactPoints(String... addresses) Add one or more the addresses of a Gremlin Servers to the list of servers aClientwill try to contact to send requests to.Adds an AuthRequestInterceptorthat will always be appended to the end of the interceptor list when theClusteris created, regardless of the order in which builder methods are called.Cluster.Builder.batchSize(int size) Sets the default for the per-request batch size, used when a request does not specify its ownbatchSizeviaRequestOptions.static Cluster.BuilderCluster.build()static Cluster.Builderstatic Cluster.BuilderCluster.Builder.bulkResults(boolean bulkResults) Configures whether cluster will enable result bulking to optimize performance.Cluster.Builder.compression(Compression compression) Sets the wireCompressionalgorithm negotiated with the server.Cluster.Builder.connectTimeout(Duration connectTimeout) Sets the TCP connection-establishment timeout.Cluster.Builder.connectTimeoutMillis(int connectTimeout) Sets the duration of time in milliseconds that bounds TCP connection establishment (transport setup, including the SSL handshake).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.enableUserAgentOnConnect(boolean enableUserAgentOnConnect) Configures whether cluster will send a user agent during web socket handshakesCluster.Builder.idleTimeout(Duration idleTimeout) Sets the idle-connection pool timeout.Cluster.Builder.idleTimeoutMillis(long idleTimeout) Sets the time in milliseconds that the driver will allow a channel to not receive read or writes before it automatically closes.Cluster.Builder.interceptors(List<RequestInterceptor> interceptors) Sets the list ofRequestInterceptorinstances that will be run in order to allow modification of theHttpRequestprior to its being sent to the server.Cluster.Builder.interceptors(RequestInterceptor... interceptors) Sets the list ofRequestInterceptorinstances that will be run in order.Cluster.Builder.keepAliveTime(Duration keepAliveTime) Sets the idle time before TCP keep-alive probes begin.Cluster.Builder.keepAliveTimeMillis(long keepAliveTime) Sets the idle time in milliseconds before TCP keep-alive probes begin on an otherwise idle connection.The file location of the private key in JKS or PKCS#12 format.Cluster.Builder.keyStorePassword(String keyStorePassword) The password of thekeyStore, ornullif it's not password-protected.Cluster.Builder.keyStoreType(String keyStoreType) The format of thekeyStore, eitherJKSorPKCS12Cluster.Builder.loadBalancingStrategy(LoadBalancingStrategy loadBalancingStrategy) Specifies the load balancing strategy to use on the client side.Cluster.Builder.maxConnections(int maxConnections) The maximum size that theConnectionPoolcan grow.Cluster.Builder.maxResponseHeaderBytes(int maxResponseHeaderBytes) The maximum size in bytes allowed for the HTTP response headers.Cluster.Builder.maxWaitForClose(int maxWait) The amount of time in milliseconds to wait the connection to close before timing out where the default value is 3000.Cluster.Builder.maxWaitForConnection(int maxWait) The maximum amount of time to wait for a connection to be borrowed from the connection pool.Cluster.Builder.nioPoolSize(int nioPoolSize) Size of the pool for handling request/response operations.The path to the Gremlin service on the host which is "/gremlin" by default.Cluster.Builder.port(int port) Sets the port that the Gremlin Servers will be listening on.Cluster.Builder.proxy(ProxyOptions proxyOptions) Routes connections through the supplied HTTP proxy.Cluster.Builder.readTimeout(Duration readTimeout) Sets the idle-read timeout that bounds the time between inbound response chunks.Cluster.Builder.readTimeoutMillis(long readTimeout) Sets the idle-read timeout in milliseconds that bounds the time between inbound response chunks.Cluster.Builder.reconnectInterval(int interval) Time in milliseconds to wait between retries when attempting to reconnect to a dead host.Cluster.Builder.responseSerializer(String mimeType) Set theMessageSerializerused to deserialize responses from the server given the exact name of aSerializersenum.Cluster.Builder.responseSerializer(MessageSerializer<?> responseSerializer) Sets theMessageSerializerused to deserialize responses from the server.Cluster.Builder.responseSerializer(Serializers mimeType) Set theMessageSerializerused to deserialize responses from the server via theSerializersenum.Cluster.Builder.ssl(io.netty.handler.ssl.SslContext sslContext) Explicitly set theSslContextto use for SSL connections.Cluster.Builder.sslCipherSuites(List<String> sslCipherSuites) A list of cipher suites to enable.Cluster.Builder.sslEnabledProtocols(List<String> sslEnabledProtocols) A list of SSL protocols to enable.Cluster.Builder.sslSkipCertValidation(boolean sslSkipCertValidation) If true, trust all certificates and do not perform any validation.Cluster.Builder.trustStore(String trustStore) The file location for a SSL Certificate Chain to use when SSL is enabled.Cluster.Builder.trustStorePassword(String trustStorePassword) The password of thetrustStore, ornullif it's not password-protected.Cluster.Builder.trustStoreType(String trustStoreType) The format of thetrustStore, eitherJKSorPKCS12Configures the endpoint from a single URL string.Cluster.Builder.validationRequest(String script) Specify a valid Gremlin script that can be used to test remote operations.Cluster.Builder.workerPoolSize(int workerPoolSize) Size of the pool for handling background work.