Class SessionFactoryConfig.Factory

java.lang.Object
io.deephaven.client.impl.SessionFactoryConfig.Factory
All Implemented Interfaces:
SessionFactory
Enclosing class:
SessionFactoryConfig

public final class SessionFactoryConfig.Factory extends Object implements SessionFactory
  • Method Details

    • newSession

      public Session newSession()
      Creates a new Session. Closing the session does not close the SessionFactory.managedChannel(). Equivalent to newSession(defaultSessionConfig()).
      Specified by:
      newSession in interface SessionFactory
      Returns:
      the new session
    • newSession

      public Session newSession(SessionConfig sessionConfig)
      Creates a new Session with sessionConfig. Closing the session does not close the managedChannel().
      Parameters:
      sessionConfig - the session config
      Returns:
      the new session
    • managedChannel

      public io.grpc.ManagedChannel managedChannel()
      Description copied from interface: SessionFactory
      The ManagedChannel associated with this factory. Use ManagedChannel.shutdown() when this factory and sessions are no longer needed.
      Specified by:
      managedChannel in interface SessionFactory
      Returns:
      the managed channel