Class BarrageSessionFactoryConfig

java.lang.Object
io.deephaven.client.impl.BarrageSessionFactoryConfig

@Immutable public abstract class BarrageSessionFactoryConfig extends Object
  • Constructor Details

    • BarrageSessionFactoryConfig

      public BarrageSessionFactoryConfig()
  • Method Details

    • builder

      public static BarrageSessionFactoryConfig.Builder builder()
    • userAgent

      public static String userAgent(List<String> extraProperties)
      Constructs a grpc user-agent with grpc-java, deephaven, flight, and barrage versions, with the addition of extraProperties.
      Parameters:
      extraProperties - the extra properties
      Returns:
      the user-agent
      See Also:
    • clientConfig

      public abstract ClientConfig clientConfig()
      The client configuration.
    • clientChannelFactory

      @Default public ClientChannelFactory clientChannelFactory()
      The client channel factory. By default, is a factory that sets a user-agent which includes relevant versions (see userAgent(List)) and the property "deephaven-java-client-barrage".
    • sessionConfig

      @Default public SessionConfig sessionConfig()
      The default session config, used by the factory when SessionConfig is not provided. By default is SessionConfig.builder().build().
    • scheduler

      public abstract ScheduledExecutorService scheduler()
      The scheduler, used by the factory when SessionConfig.scheduler() is not set.
    • allocator

      public abstract org.apache.arrow.memory.BufferAllocator allocator()
      The allocator.
    • factory

      public final BarrageSessionFactoryConfig.Factory factory()
      Creates a new factory with a new ManagedChannel.
      Returns:
      the factory