Package io.deephaven.client.impl
Class BarrageSessionFactoryConfig
java.lang.Object
io.deephaven.client.impl.BarrageSessionFactoryConfig
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
final class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract org.apache.arrow.memory.BufferAllocator
The allocator.builder()
The client channel factory.abstract ClientConfig
The client configuration.factory()
Creates a new factory with a newManagedChannel
.abstract ScheduledExecutorService
The 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
,deephaven
,flight
, andbarrage
versions, with the addition ofextraProperties
.
-
Constructor Details
-
BarrageSessionFactoryConfig
public BarrageSessionFactoryConfig()
-
-
Method Details
-
builder
-
userAgent
Constructs a grpc user-agent withgrpc-java
,deephaven
,flight
, andbarrage
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-barrage". -
sessionConfig
The default session config, used by the factory whenSessionConfig
is not provided. By default isSessionConfig.builder().build()
. -
scheduler
The scheduler, used by the factory whenSessionConfig.scheduler()
is not set. -
allocator
public abstract org.apache.arrow.memory.BufferAllocator allocator()The allocator. -
factory
Creates a new factory with a newManagedChannel
.- Returns:
- the factory
-