android-components / mozilla.components.service.fretboard / ExperimentStorage


interface ExperimentStorage (source)

Represents a location where experiments are stored locally on the device


Name Summary
retrieve abstract fun retrieve(): ExperimentsSnapshot
Reads experiments from disk
save abstract fun save(snapshot: ExperimentsSnapshot): Unit
Stores the given experiments to disk


Name Summary
FlatFileExperimentStorage class FlatFileExperimentStorage : ExperimentStorage
Class which uses a flat JSON file as an experiment storage mechanism