Package io.deephaven.server.session
Class SessionFactoryCreator
java.lang.Object
io.deephaven.server.session.SessionFactoryCreator
-
Constructor Summary
ConstructorsConstructorDescriptionSessionFactoryCreator(ScheduledExecutorService scheduler, org.apache.arrow.memory.BufferAllocator allocator, ClientChannelFactory clientChannelFactory) -
Method Summary
Modifier and TypeMethodDescriptionbarrageFactory(ClientConfig clientConfig) Creates aBarrageSessionFactoryConfig.Factoryby setting up the server defaults for aBarrageSessionFactoryConfig.flightFactory(ClientConfig clientConfig) Creates aFlightSessionFactoryConfig.Factoryby setting up the server defaults for aFlightSessionFactoryConfig.sessionFactory(ClientConfig clientConfig) Creates aSessionFactoryConfig.Factoryby setting up the server defaults for aSessionFactoryConfig.
-
Constructor Details
-
SessionFactoryCreator
@Inject public SessionFactoryCreator(ScheduledExecutorService scheduler, org.apache.arrow.memory.BufferAllocator allocator, ClientChannelFactory clientChannelFactory)
-
-
Method Details
-
sessionFactory
Creates aSessionFactoryConfig.Factoryby setting up the server defaults for aSessionFactoryConfig. IfclientConfigdoes not specifyClientConfig.ssl()and the target is secure, aclientConfigwithdefaultOutboundSslwill be used.- Parameters:
clientConfig- the client configuration- Returns:
- the barrage factory
-
flightFactory
Creates aFlightSessionFactoryConfig.Factoryby setting up the server defaults for aFlightSessionFactoryConfig. IfclientConfigdoes not specifyClientConfig.ssl()and the target is secure, aclientConfigwithdefaultOutboundSslwill be used.- Parameters:
clientConfig- the client configuration- Returns:
- the flight factory
-
barrageFactory
Creates aBarrageSessionFactoryConfig.Factoryby setting up the server defaults for aBarrageSessionFactoryConfig. IfclientConfigdoes not specifyClientConfig.ssl()and the target is secure, aclientConfigwithdefaultOutboundSslwill be used.- Parameters:
clientConfig- the client configuration- Returns:
- the barrage factory
-