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.ManagedChannel
TheManagedChannel
associated withthis
factory.Creates a newFlightSession
.newFlightSession
(SessionConfig sessionConfig) Creates a newFlightSession
withsessionConfig
.
-
Method Details
-
newFlightSession
Description copied from interface:FlightSessionFactory
Creates a newFlightSession
. Closing the session does not close theFlightSessionFactory.managedChannel()
.- Specified by:
newFlightSession
in interfaceFlightSessionFactory
- Returns:
- the new flight session
-
newFlightSession
Creates a newFlightSession
withsessionConfig
. 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:FlightSessionFactory
TheManagedChannel
associated withthis
factory. UseManagedChannel.shutdown()
whenthis
factory and sessions are no longer needed.- Specified by:
managedChannel
in interfaceFlightSessionFactory
- Returns:
- the managed channel
-