Class CacheDiagnostics.CacheDiagnosticsBuilder
java.lang.Object
growthbook.sdk.java.diagnostics.model.CacheDiagnostics.CacheDiagnosticsBuilder
- Enclosing class:
- CacheDiagnostics
-
Method Summary
Modifier and TypeMethodDescriptionAge in milliseconds since the last cache update.build()enabled(boolean enabled) Whether feature cache persistence is enabled for the active repository/configuration.lastUpdatedMillis(long lastUpdatedMillis) Epoch-millis timestamp of the last cache update, or0when unavailable.Configured cache mode from client options.state(CacheState state) Derived cache state for support/debugging flows.toString()
-
Method Details
-
state
Derived cache state for support/debugging flows.- Returns:
this.
-
mode
Configured cache mode from client options.- Returns:
this.
-
enabled
Whether feature cache persistence is enabled for the active repository/configuration.- Returns:
this.
-
lastUpdatedMillis
Epoch-millis timestamp of the last cache update, or0when unavailable.- Returns:
this.
-
ageMillis
Age in milliseconds since the last cache update.- Returns:
this.
-
build
-
toString
-