Package io.deephaven.server.session
Class SessionFactoryCreator
java.lang.Object
io.deephaven.server.session.SessionFactoryCreator
-
Constructor Summary
ConstructorDescriptionSessionFactoryCreator
(ScheduledExecutorService scheduler, org.apache.arrow.memory.BufferAllocator allocator, ClientChannelFactory clientChannelFactory) -
Method Summary
Modifier and TypeMethodDescriptionbarrageFactory
(ClientConfig clientConfig) Creates aBarrageSessionFactoryConfig.Factory
by setting up the server defaults for aBarrageSessionFactoryConfig
.flightFactory
(ClientConfig clientConfig) Creates aFlightSessionFactoryConfig.Factory
by setting up the server defaults for aFlightSessionFactoryConfig
.sessionFactory
(ClientConfig clientConfig) Creates aSessionFactoryConfig.Factory
by 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.Factory
by setting up the server defaults for aSessionFactoryConfig
. IfclientConfig
does not specifyClientConfig.ssl()
and the target is secure, aclientConfig
withdefaultOutboundSsl
will be used.- Parameters:
clientConfig
- the client configuration- Returns:
- the barrage factory
-
flightFactory
Creates aFlightSessionFactoryConfig.Factory
by setting up the server defaults for aFlightSessionFactoryConfig
. IfclientConfig
does not specifyClientConfig.ssl()
and the target is secure, aclientConfig
withdefaultOutboundSsl
will be used.- Parameters:
clientConfig
- the client configuration- Returns:
- the flight factory
-
barrageFactory
Creates aBarrageSessionFactoryConfig.Factory
by setting up the server defaults for aBarrageSessionFactoryConfig
. IfclientConfig
does not specifyClientConfig.ssl()
and the target is secure, aclientConfig
withdefaultOutboundSsl
will be used.- Parameters:
clientConfig
- the client configuration- Returns:
- the barrage factory
-