Package io.deephaven.client.impl
Class BarrageSessionFactoryConfig.Factory
java.lang.Object
io.deephaven.client.impl.BarrageSessionFactoryConfig.Factory
- All Implemented Interfaces:
BarrageSessionFactory
- Enclosing class:
- BarrageSessionFactoryConfig
public final class BarrageSessionFactoryConfig.Factory
extends Object
implements BarrageSessionFactory
-
Method Summary
Modifier and TypeMethodDescriptionio.grpc.ManagedChannel
TheManagedChannel
associated withthis
factory.Creates a newBarrageSession
.newBarrageSession
(SessionConfig sessionConfig) Creates a newBarrageSession
withsessionConfig
.
-
Method Details
-
newBarrageSession
Description copied from interface:BarrageSessionFactory
Creates a newBarrageSession
. Closing the session does not close theBarrageSessionFactory.managedChannel()
.- Specified by:
newBarrageSession
in interfaceBarrageSessionFactory
- Returns:
- the new barrage session
-
newBarrageSession
Creates a newBarrageSession
withsessionConfig
. Closing the session does not close themanagedChannel()
.- Parameters:
sessionConfig
- the session config- Returns:
- the new barrage session
-
managedChannel
public io.grpc.ManagedChannel managedChannel()Description copied from interface:BarrageSessionFactory
TheManagedChannel
associated withthis
factory. UseManagedChannel.shutdown()
whenthis
factory and sessions are no longer needed.- Specified by:
managedChannel
in interfaceBarrageSessionFactory
- Returns:
- the managed channel
-