Class CacheDiagnostics
java.lang.Object
growthbook.sdk.java.diagnostics.model.CacheDiagnostics
Feature cache metadata.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanAge in milliseconds since the last cache update.longEpoch-millis timestamp of the last cache update, or0when unavailable.getMode()Configured cache mode from client options.getState()Derived cache state for support/debugging flows.inthashCode()booleanWhether feature cache persistence is enabled for the active repository/configuration.toString()
-
Method Details
-
builder
-
getState
Derived cache state for support/debugging flows. -
getMode
Configured cache mode from client options. -
isEnabled
public boolean isEnabled()Whether feature cache persistence is enabled for the active repository/configuration. -
getLastUpdatedMillis
public long getLastUpdatedMillis()Epoch-millis timestamp of the last cache update, or0when unavailable. -
getAgeMillis
Age in milliseconds since the last cache update. -
equals
-
hashCode
public int hashCode() -
toString
-