Package io.deephaven.client.impl
Class FlightSessionFactoryConfig.Factory
java.lang.Object
io.deephaven.client.impl.FlightSessionFactoryConfig.Factory
- All Implemented Interfaces:
FlightSessionFactory
- Enclosing class:
- FlightSessionFactoryConfig
public final class FlightSessionFactoryConfig.Factory
extends Object
implements FlightSessionFactory
-
Method Summary
Modifier and TypeMethodDescriptionio.grpc.ManagedChannelTheManagedChannelassociated withthisfactory.Creates a newFlightSession.newFlightSession(SessionConfig sessionConfig) Creates a newFlightSessionwithsessionConfig.
-
Method Details
-
newFlightSession
Description copied from interface:FlightSessionFactoryCreates a newFlightSession. Closing the session does not close theFlightSessionFactory.managedChannel().- Specified by:
newFlightSessionin interfaceFlightSessionFactory- Returns:
- the new flight session
-
newFlightSession
Creates a newFlightSessionwithsessionConfig. Closing the session does not close themanagedChannel().- Parameters:
sessionConfig- the session config- Returns:
- the new flight session
-
managedChannel
public io.grpc.ManagedChannel managedChannel()Description copied from interface:FlightSessionFactoryTheManagedChannelassociated withthisfactory. UseManagedChannel.shutdown()whenthisfactory and sessions are no longer needed.- Specified by:
managedChannelin interfaceFlightSessionFactory- Returns:
- the managed channel
-