A
B
C
D
E
F
G
H
I
L
M
O
P
R
S
T
U
W
S
- sendFeatureFlagEvent(java.lang.Boolean) - function in com.posthog.server.PostHogConfig.Builder
- sendFeatureFlagEvent(java.lang.Boolean) - function in com.posthog.server.PostHogFeatureFlagResultOptions.Builder
- Sets whether to send the $feature_flag_called event when the flag is evaluated.
- setAppendFeatureFlags(java.lang.Boolean) - function in com.posthog.server.PostHogCaptureOptions.Builder
- setDebug(java.lang.Boolean) - function in com.posthog.server.PostHogConfig
- Logs the debug logs to the logger if enabled Defaults to false
- setDefaultValue(java.lang.Object) - function in com.posthog.server.PostHogFeatureFlagOptions.Builder
- setEncryption(com.posthog.PostHogEncryption) - function in com.posthog.server.PostHogConfig
- Hook for encrypt and decrypt events Devices are sandbox so likely not needed Defaults to no encryption
- setEvaluationContexts(java.util.List) - function in com.posthog.server.PostHogConfig
- Evaluation contexts for feature flags List of contexts (e.g., "web", "mobile", "checkout") used to filter feature flag evaluations on the server side.
- setFeatureFlagCacheMaxAgeMs(java.lang.Integer) - function in com.posthog.server.PostHogConfig
- The maximum age of a feature flag cache record in memory in milliseconds Defaults to 5 minutes
- setFeatureFlagCacheSize(java.lang.Integer) - function in com.posthog.server.PostHogConfig
- The maximum size of the feature flag cache in memory Defaults to 1000
- setFeatureFlagCalledCacheSize(java.lang.Integer) - function in com.posthog.server.PostHogConfig
- The maximum size of the feature flag called cache in memory.
- setFlushAt(java.lang.Integer) - function in com.posthog.server.PostHogConfig
- Number of minimum events before they are sent over the wire Defaults to 20
- setFlushIntervalSeconds(java.lang.Integer) - function in com.posthog.server.PostHogConfig
- Interval in seconds for sending events over the wire The lower the number, most likely more battery is used Defaults to 30s
- setGroupProperties(java.util.Map) - function in com.posthog.server.PostHogFeatureFlagOptions.Builder
- setGroupProperties(java.util.Map) - function in com.posthog.server.PostHogFeatureFlagResultOptions.Builder
- setGroups(java.util.Map) - function in com.posthog.server.PostHogCaptureOptions.Builder
- setGroups(java.util.Map) - function in com.posthog.server.PostHogFeatureFlagOptions.Builder
- setGroups(java.util.Map) - function in com.posthog.server.PostHogFeatureFlagResultOptions.Builder
- setLocalEvaluation(java.lang.Boolean) - function in com.posthog.server.PostHogConfig
- Enable local evaluation of feature flags When enabled, the SDK periodically fetches flag definitions and evaluates flags locally without making API calls for each flag check.
- setMaxBatchSize(java.lang.Integer) - function in com.posthog.server.PostHogConfig
- Number of maximum events in a batch call Defaults to 50
- setMaxQueueSize(java.lang.Integer) - function in com.posthog.server.PostHogConfig
- Number of maximum events in memory and disk, when the maximum is exceed, the oldest event is deleted and the new one takes place Defaults to 1000
- setOnFeatureFlags(com.posthog.PostHogOnFeatureFlags) - function in com.posthog.server.PostHogConfig
- Hook that is called when feature flag definitions are loaded.
- setPersonalApiKey(java.lang.String) - function in com.posthog.server.PostHogConfig
- Personal API key for local evaluation Required when localEvaluation is true.
- setPersonProperties(java.util.Map) - function in com.posthog.server.PostHogFeatureFlagOptions.Builder
- setPersonProperties(java.util.Map) - function in com.posthog.server.PostHogFeatureFlagResultOptions.Builder
- setPollIntervalSeconds(java.lang.Integer) - function in com.posthog.server.PostHogConfig
- Interval in seconds for polling feature flag definitions for local evaluation Defaults to 30 seconds
- setPreloadFeatureFlags(java.lang.Boolean) - function in com.posthog.server.PostHogConfig
- Preload feature flags automatically Docs https://posthog.com/docs/feature-flags and https://posthog.
- setProperties(java.util.Map) - function in com.posthog.server.PostHogCaptureOptions.Builder
- setProxy(java.net.Proxy) - function in com.posthog.server.PostHogConfig
- Hook that allows to sanitize the event properties The hook is called before the event is cached or sent over the wire
- setRemoteConfig(java.lang.Boolean) - function in com.posthog.server.PostHogConfig
- Preload PostHog remote config automatically Defaults to true
- setSendFeatureFlagEvent(java.lang.Boolean) - function in com.posthog.server.PostHogConfig
- Send a $feature_flag_called event when a feature flag is used automatically Used by experimentsDefaults to true
- setSendFeatureFlagEvent(java.lang.Boolean) - function in com.posthog.server.PostHogFeatureFlagResultOptions.Builder
- setTimestamp(java.util.Date) - function in com.posthog.server.PostHogCaptureOptions.Builder
- setup(T) - function in com.posthog.PostHogStateless
- setup(T) - function in com.posthog.server.PostHog
- Setup the SDK
- setup(T) - function in com.posthog.server.PostHogInterface
- Setup the SDK
- setUserProperties(java.util.Map) - function in com.posthog.server.PostHogCaptureOptions.Builder
- setUserPropertiesSetOnce(java.util.Map) - function in com.posthog.server.PostHogCaptureOptions.Builder