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.ManagedChannel
TheManagedChannel
associated withthis
factory.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()TheManagedChannel
associated withthis
factory. UseManagedChannel.shutdown()
whenthis
factory and sessions are no longer needed.- Returns:
- the managed channel
-