Package io.deephaven.client
Interface SessionSubcomponent
- All Superinterfaces:
SessionFactory
@Subcomponent(modules=SessionImplModule.class)
public interface SessionSubcomponent
extends SessionFactory
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionio.grpc.ManagedChannel
TheManagedChannel
associated withthis
factory.Creates a newSession
.
-
Method Details
-
newSession
SessionImpl newSession()Description copied from interface:SessionFactory
Creates a newSession
. Closing the session does not close theSessionFactory.managedChannel()
.- Specified by:
newSession
in interfaceSessionFactory
- Returns:
- the new session
-
managedChannel
io.grpc.ManagedChannel managedChannel()Description copied from interface:SessionFactory
TheManagedChannel
associated withthis
factory. UseManagedChannel.shutdown()
whenthis
factory and sessions are no longer needed.- Specified by:
managedChannel
in interfaceSessionFactory
- Returns:
- the managed channel
-