Package io.deephaven.client.impl
Class SessionFactoryConfig
java.lang.Object
io.deephaven.client.impl.SessionFactoryConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacefinal class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SessionFactoryConfig.Builderbuilder()The client channel factory.abstract ClientConfigThe client configuration.factory()Creates a new factory with a newManagedChannel.abstract ScheduledExecutorServiceThe default scheduler, used by the factory whenSessionConfig.scheduler()is not set.The default session config, used by the factory whenSessionConfigis not provided.static StringConstructs a grpc user-agent withgrpc-javaanddeephavenversions, with the addition ofextraProperties.
-
Constructor Details
-
SessionFactoryConfig
public SessionFactoryConfig()
-
-
Method Details
-
builder
-
userAgent
Constructs a grpc user-agent withgrpc-javaanddeephavenversions, 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 whenSessionConfigis 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
-