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.ManagedChannelTheManagedChannelassociated withthisfactory.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()TheManagedChannelassociated withthisfactory. UseManagedChannel.shutdown()whenthisfactory and sessions are no longer needed.- Returns:
- the managed channel
-