Package io.deephaven.client.impl
Interface FlightSessionFactory
- All Known Subinterfaces:
FlightSubcomponent
- All Known Implementing Classes:
FlightSessionFactoryConfig.Factory
public interface FlightSessionFactory
-
Method Summary
Modifier and TypeMethodDescriptionio.grpc.ManagedChannelTheManagedChannelassociated withthisfactory.Creates a newFlightSession.
-
Method Details
-
newFlightSession
FlightSession newFlightSession()Creates a newFlightSession. Closing the session does not close themanagedChannel().- Returns:
- the new flight session
-
managedChannel
io.grpc.ManagedChannel managedChannel()TheManagedChannelassociated withthisfactory. UseManagedChannel.shutdown()whenthisfactory and sessions are no longer needed.- Returns:
- the managed channel
-