From e2b3c2e50ee1cc2efe36cfc0902e3fb39fc24f83 Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Thu, 30 Oct 2025 17:35:00 +0000 Subject: [PATCH 1/4] Update snippets/server-core/java/statsigOptions.mdx --- snippets/server-core/java/statsigOptions.mdx | 28 ++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/snippets/server-core/java/statsigOptions.mdx b/snippets/server-core/java/statsigOptions.mdx index e6ee9de22..375640578 100644 --- a/snippets/server-core/java/statsigOptions.mdx +++ b/snippets/server-core/java/statsigOptions.mdx @@ -28,14 +28,38 @@ If true, the SDK will not collect any logging within the session, including cust Required to be `true` when using segments with more than 1000 IDs. - -If true, the SDK will not parse User-Agent strings into `browserName`, `browserVersion`, `systemName`, `systemVersion`, and `appVersion` when needed for evaluation. + +Custom URL for fetching ID lists. + + + +How often the SDK updates ID lists from Statsig servers (in milliseconds). + + + +The amount of time to wait for an `initialize()` response from the server (in milliseconds). The SDK will still fetch gates/configs in the background if this time is exceeded. + + + +If true, the SDK will wait for User-Agent parsing initialization to complete before returning from `initialize()`. + + + +If true, the SDK will wait for country lookup initialization to complete before returning from `initialize()`. If true, the SDK will not parse IP addresses (from `user.ip`) into country codes when needed for evaluation. + +If true, the SDK will use a third-party User-Agent parser instead of the built-in parser. + + + +If true, the SDK will not make any network requests. Useful for testing or when using a custom data store. + + How often events are flushed to Statsig servers (in milliseconds). From c6ec6abd4a142bbfc033aa6df6e1ac1a46ae7ead Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Thu, 30 Oct 2025 17:35:08 +0000 Subject: [PATCH 2/4] Update snippets/server-core/java/statsigOptions.mdx --- snippets/server-core/java/statsigOptions.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/snippets/server-core/java/statsigOptions.mdx b/snippets/server-core/java/statsigOptions.mdx index 375640578..c66d6e7d1 100644 --- a/snippets/server-core/java/statsigOptions.mdx +++ b/snippets/server-core/java/statsigOptions.mdx @@ -68,6 +68,14 @@ How often events are flushed to Statsig servers (in milliseconds). Maximum number of events to queue before forcing a flush. + +Maximum number of pending batches to queue before dropping events. + + + +Name of the service using the SDK. Used for observability and debugging. + + An adapter with custom storage behavior for config specs. Can also continuously fetch updates in place of the Statsig network. From 7093d8d5155c822b1abad786b14e8d47795f55e4 Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Thu, 30 Oct 2025 17:35:17 +0000 Subject: [PATCH 3/4] Update snippets/server-core/java/statsigOptions.mdx --- snippets/server-core/java/statsigOptions.mdx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/snippets/server-core/java/statsigOptions.mdx b/snippets/server-core/java/statsigOptions.mdx index c66d6e7d1..72c497f7d 100644 --- a/snippets/server-core/java/statsigOptions.mdx +++ b/snippets/server-core/java/statsigOptions.mdx @@ -88,6 +88,14 @@ Interface to use persistent storage within the SDK. Set the logging level for the SDK. Options: `NONE`, `ERROR`, `WARN`, `INFO`, `DEBUG`. + +Custom logger provider for SDK logging output. + + + +Configuration for using a proxy server for network requests. + + Interface to integrate observability metrics exposed by the SDK. From 9bdbf903b5c66436d8cc9cb186b96d5f89ee43ce Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Thu, 30 Oct 2025 17:35:28 +0000 Subject: [PATCH 4/4] Update snippets/server-core/java/statsigOptions.mdx --- snippets/server-core/java/statsigOptions.mdx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/snippets/server-core/java/statsigOptions.mdx b/snippets/server-core/java/statsigOptions.mdx index 72c497f7d..2ffe4bc13 100644 --- a/snippets/server-core/java/statsigOptions.mdx +++ b/snippets/server-core/java/statsigOptions.mdx @@ -109,6 +109,9 @@ StatsigOptions options = new StatsigOptions.Builder() .setEnvironment("staging") .setSpecsSyncIntervalMs(10000) .setEventLoggingFlushIntervalMs(5000) + .setInitTimeoutMs(5000) + .setServiceName("my-service") + .setEnableIDLists(true) .setOutputLoggerLevel(OutputLogger.LogLevel.INFO) .build(); @@ -122,6 +125,9 @@ val options = StatsigOptions.Builder() .setEnvironment("staging") .setSpecsSyncIntervalMs(10000) .setEventLoggingFlushIntervalMs(5000) + .setInitTimeoutMs(5000) + .setServiceName("my-service") + .setEnableIDLists(true) .setOutputLoggerLevel(OutputLogger.LogLevel.INFO) .build()