Class SessionFactoryCreator

java.lang.Object
io.deephaven.server.session.SessionFactoryCreator

public final class SessionFactoryCreator extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
    SessionFactoryCreator(ScheduledExecutorService scheduler, org.apache.arrow.memory.BufferAllocator allocator, io.deephaven.client.impl.ClientChannelFactory clientChannelFactory)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    io.deephaven.client.impl.BarrageSessionFactoryConfig.Factory
    barrageFactory(io.deephaven.client.impl.ClientConfig clientConfig)
    Creates a BarrageSessionFactoryConfig.Factory by setting up the server defaults for a BarrageSessionFactoryConfig.
    io.deephaven.client.impl.FlightSessionFactoryConfig.Factory
    flightFactory(io.deephaven.client.impl.ClientConfig clientConfig)
    Creates a FlightSessionFactoryConfig.Factory by setting up the server defaults for a FlightSessionFactoryConfig.
    io.deephaven.client.impl.SessionFactoryConfig.Factory
    sessionFactory(io.deephaven.client.impl.ClientConfig clientConfig)
    Creates a SessionFactoryConfig.Factory by setting up the server defaults for a SessionFactoryConfig.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SessionFactoryCreator

      @Inject public SessionFactoryCreator(ScheduledExecutorService scheduler, org.apache.arrow.memory.BufferAllocator allocator, io.deephaven.client.impl.ClientChannelFactory clientChannelFactory)
  • Method Details

    • sessionFactory

      public io.deephaven.client.impl.SessionFactoryConfig.Factory sessionFactory(io.deephaven.client.impl.ClientConfig clientConfig)
      Creates a SessionFactoryConfig.Factory by setting up the server defaults for a SessionFactoryConfig. If clientConfig does not specify ClientConfig.ssl() and the target is secure, a clientConfig with defaultOutboundSsl will be used.
      Parameters:
      clientConfig - the client configuration
      Returns:
      the barrage factory
    • flightFactory

      public io.deephaven.client.impl.FlightSessionFactoryConfig.Factory flightFactory(io.deephaven.client.impl.ClientConfig clientConfig)
      Creates a FlightSessionFactoryConfig.Factory by setting up the server defaults for a FlightSessionFactoryConfig. If clientConfig does not specify ClientConfig.ssl() and the target is secure, a clientConfig with defaultOutboundSsl will be used.
      Parameters:
      clientConfig - the client configuration
      Returns:
      the flight factory
    • barrageFactory

      public io.deephaven.client.impl.BarrageSessionFactoryConfig.Factory barrageFactory(io.deephaven.client.impl.ClientConfig clientConfig)
      Creates a BarrageSessionFactoryConfig.Factory by setting up the server defaults for a BarrageSessionFactoryConfig. If clientConfig does not specify ClientConfig.ssl() and the target is secure, a clientConfig with defaultOutboundSsl will be used.
      Parameters:
      clientConfig - the client configuration
      Returns:
      the barrage factory