Class FeatureKeyDiagnostics
java.lang.Object
growthbook.sdk.java.diagnostics.model.FeatureKeyDiagnostics
Diagnostics metadata for feature keys in the current snapshot.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()booleanStable, sorted sample of feature keys.intMaximum number of keys included insample.SHA-256 hash of the sorted feature keys, ornullwhen keys are unavailable.intTotal number of feature keys in the inspected snapshot.inthashCode()booleanWhether feature keys were available to inspect.booleanWhether the key list was truncated to fit the sample limit.toString()
-
Method Details
-
builder
-
isAvailable
public boolean isAvailable()Whether feature keys were available to inspect. -
getTotalCount
public int getTotalCount()Total number of feature keys in the inspected snapshot. -
getSampleLimit
public int getSampleLimit()Maximum number of keys included insample. -
getSample
Stable, sorted sample of feature keys. -
isTruncated
public boolean isTruncated()Whether the key list was truncated to fit the sample limit. -
getSha256
SHA-256 hash of the sorted feature keys, ornullwhen keys are unavailable. -
equals
-
hashCode
public int hashCode() -
toString
-