Package io.deephaven.server.runner
Class DeephavenApiConfigModule
java.lang.Object
io.deephaven.server.runner.DeephavenApiConfigModule
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intstatic intprovidesPort(ServerConfig config) static intstatic longstatic SSLConfigThe client SSL configuration is the first ofServerConfig.outboundSsl(),ServerConfig.ssl(), orSSLConfig.empty().
-
Constructor Details
-
DeephavenApiConfigModule
public DeephavenApiConfigModule()
-
-
Method Details
-
providesPort
-
providesSchedulerPoolSize
@Provides @Named("scheduler.poolSize") public static int providesSchedulerPoolSize(ServerConfig config) -
providesSessionTokenExpireTmMs
@Provides @Named("session.tokenExpireMs") public static long providesSessionTokenExpireTmMs(ServerConfig config) -
providesMaxInboundMessageSize
@Provides @Named("grpc.maxInboundMessageSize") public static int providesMaxInboundMessageSize(ServerConfig config) -
providesSSLConfigForClient
@Provides @Named("client.sslConfig") public static SSLConfig providesSSLConfigForClient(ServerConfig config) The client SSL configuration is the first ofServerConfig.outboundSsl(),ServerConfig.ssl(), orSSLConfig.empty(). In addition,TrustJdkis mixed-in.- Parameters:
config- the server configuration- Returns:
- the client SSL configuration
-