Package io.deephaven.client.impl
Class SessionFactoryConfig.Factory
java.lang.Object
io.deephaven.client.impl.SessionFactoryConfig.Factory
- All Implemented Interfaces:
SessionFactory
- Enclosing class:
- SessionFactoryConfig
-
Method Summary
Modifier and TypeMethodDescriptionio.grpc.ManagedChannelTheManagedChannelassociated withthisfactory.Creates a newSession.newSession(SessionConfig sessionConfig) Creates a newSessionwithsessionConfig.
-
Method Details
-
newSession
Creates a newSession. Closing the session does not close theSessionFactory.managedChannel(). Equivalent tonewSession(defaultSessionConfig()).- Specified by:
newSessionin interfaceSessionFactory- Returns:
- the new session
-
newSession
- Parameters:
sessionConfig- the session config- Returns:
- the new session
-
managedChannel
public io.grpc.ManagedChannel managedChannel()Description copied from interface:SessionFactoryTheManagedChannelassociated withthisfactory. UseManagedChannel.shutdown()whenthisfactory and sessions are no longer needed.- Specified by:
managedChannelin interfaceSessionFactory- Returns:
- the managed channel
-