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, io.deephaven.client.impl.ClientChannelFactory clientChannelFactory) -
Method Summary
Modifier and TypeMethodDescriptionio.deephaven.client.impl.BarrageSessionFactoryConfig.FactorybarrageFactory(io.deephaven.client.impl.ClientConfig clientConfig) Creates aBarrageSessionFactoryConfig.Factoryby setting up the server defaults for aBarrageSessionFactoryConfig.io.deephaven.client.impl.FlightSessionFactoryConfig.FactoryflightFactory(io.deephaven.client.impl.ClientConfig clientConfig) Creates aFlightSessionFactoryConfig.Factoryby setting up the server defaults for aFlightSessionFactoryConfig.io.deephaven.client.impl.SessionFactoryConfig.FactorysessionFactory(io.deephaven.client.impl.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, io.deephaven.client.impl.ClientChannelFactory clientChannelFactory)
-
-
Method Details
-
sessionFactory
public io.deephaven.client.impl.SessionFactoryConfig.Factory sessionFactory(io.deephaven.client.impl.ClientConfig clientConfig) 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
public io.deephaven.client.impl.FlightSessionFactoryConfig.Factory flightFactory(io.deephaven.client.impl.ClientConfig clientConfig) 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
public io.deephaven.client.impl.BarrageSessionFactoryConfig.Factory barrageFactory(io.deephaven.client.impl.ClientConfig clientConfig) 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
-