Class ConnectionOptionsHelper (2.26.0)

public class ConnectionOptionsHelper

Inheritance

java.lang.Object > ConnectionOptionsHelper

Static Methods

useDirectExecutorIfNotUseVirtualThreads(String uri, ConnectionOptions.Builder builder)

public static ConnectionOptions.Builder useDirectExecutorIfNotUseVirtualThreads(String uri, ConnectionOptions.Builder builder)
Parameters
Name Description
uri String
builder Builder
Returns
Type Description
Builder

usesDirectExecutor(ConnectionOptions options)

public static boolean usesDirectExecutor(ConnectionOptions options)
Parameter
Name Description
options ConnectionOptions
Returns
Type Description
boolean