Package io.deephaven.client.impl
Interface SessionFactory
- All Known Subinterfaces:
SessionSubcomponent
- All Known Implementing Classes:
SessionFactoryConfig.Factory
public interface SessionFactory
-
Method Summary
Modifier and TypeMethodDescriptionio.grpc.ManagedChannel
TheManagedChannel
associated withthis
factory.Creates a newSession
.
-
Method Details
-
newSession
Session newSession()Creates a newSession
. Closing the session does not close themanagedChannel()
.- Returns:
- the new session
-
managedChannel
io.grpc.ManagedChannel managedChannel()TheManagedChannel
associated withthis
factory. UseManagedChannel.shutdown()
whenthis
factory and sessions are no longer needed.- Returns:
- the managed channel
-