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.ManagedChannel
TheManagedChannel
associated withthis
factory.Creates a newSession
.newSession
(SessionConfig sessionConfig) Creates a newSession
withsessionConfig
.
-
Method Details
-
newSession
Creates a newSession
. Closing the session does not close theSessionFactory.managedChannel()
. Equivalent tonewSession(defaultSessionConfig())
.- Specified by:
newSession
in 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:SessionFactory
TheManagedChannel
associated withthis
factory. UseManagedChannel.shutdown()
whenthis
factory and sessions are no longer needed.- Specified by:
managedChannel
in interfaceSessionFactory
- Returns:
- the managed channel
-