Package io.deephaven.client.impl
Interface FlightSubcomponent
- All Superinterfaces:
FlightSessionFactory
@Subcomponent(modules={SessionImplModule.class,FlightSessionModule.class})
public interface FlightSubcomponent
extends FlightSessionFactory
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionio.grpc.ManagedChannel
TheManagedChannel
associated withthis
factory.Creates a newFlightSession
.
-
Method Details
-
newFlightSession
FlightSession 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
-
managedChannel
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
-