Package io.deephaven.client.impl
Class SessionFactoryConfig
java.lang.Object
io.deephaven.client.impl.SessionFactoryConfig
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
final class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SessionFactoryConfig.Builder
builder()
The client channel factory.abstract ClientConfig
The client configuration.factory()
Creates a new factory with a newManagedChannel
.abstract ScheduledExecutorService
The default scheduler, used by the factory whenSessionConfig.scheduler()
is not set.The default session config, used by the factory whenSessionConfig
is not provided.static String
Constructs a grpc user-agent withgrpc-java
anddeephaven
versions, with the addition ofextraProperties
.
-
Constructor Details
-
SessionFactoryConfig
public SessionFactoryConfig()
-
-
Method Details
-
builder
-
userAgent
Constructs a grpc user-agent withgrpc-java
anddeephaven
versions, with the addition ofextraProperties
.- Parameters:
extraProperties
- the extra properties- Returns:
- the user-agent
- See Also:
-
clientConfig
The client configuration. -
clientChannelFactory
The client channel factory. By default, is a factory that sets a user-agent which includes relevant versions (seeuserAgent(List)
) and the property "deephaven-java-client-session". -
sessionConfig
The default session config, used by the factory whenSessionConfig
is not provided. By default isSessionConfig.builder().build()
. -
scheduler
The default scheduler, used by the factory whenSessionConfig.scheduler()
is not set. -
factory
Creates a new factory with a newManagedChannel
.- Returns:
- the factory
-