Uses of Class
io.rtr.alchemy.models.Experiment
Packages that use Experiment
-
Uses of Experiment in io.rtr.alchemy.caching
Methods in io.rtr.alchemy.caching that return types with arguments of type ExperimentMethods in io.rtr.alchemy.caching with parameters of type ExperimentModifier and TypeMethodDescriptionvoidBasicCacheStrategy.onLoad(Experiment experiment, CachingContext context) voidCacheStrategy.onLoad(Experiment experiment, CachingContext context) Fires when an experiment is loaded from the storevoidBasicCacheStrategy.onSave(Experiment experiment, CachingContext context) voidCacheStrategy.onSave(Experiment experiment, CachingContext context) Fires when an experiment is saved to the storevoidCachingContext.update(Experiment experiment) Updates the cache with a newly loaded experimentConstructor parameters in io.rtr.alchemy.caching with type arguments of type ExperimentModifierConstructorDescriptionCacheStrategyIterable(Iterable<Experiment> iterable, CachingContext context, CacheStrategy strategy) -
Uses of Experiment in io.rtr.alchemy.db
Methods in io.rtr.alchemy.db that return ExperimentModifier and TypeMethodDescriptionExperimentsStore.load(String experimentName, Experiment.Builder builder) Retrieves an experimentMethods in io.rtr.alchemy.db that return types with arguments of type ExperimentModifier and TypeMethodDescriptionExperimentsStore.find(Filter filter, Experiment.BuilderFactory factory) Finds experiments with given criteriaExperimentsCache.getActiveExperiments()Return active experimentsMethods in io.rtr.alchemy.db with parameters of type ExperimentModifier and TypeMethodDescriptionvoidExperimentsStore.save(Experiment experiment) Save an experiment, creating or updating itvoidExperimentsCache.update(Experiment experiment) Updates the cache with a newly loaded experiment -
Uses of Experiment in io.rtr.alchemy.models
Methods in io.rtr.alchemy.models that return ExperimentModifier and TypeMethodDescriptionExperiment.activate()Activates the experiments, enabling all treatmentsExperiment.addOverride(String overrideName, String treatmentName, String filter) Add a treatment override for an identityExperiment.addTreatment(String name) Adds a treatmentExperiment.addTreatment(String name, String description) Adds a treatmentAllocates bins to a treatmentExperiment.Builder.build()Experiment.clearOverrides()Removes all overridesExperiment.clearTreatments()Removes all treatmentsstatic ExperimentExperiment.copyOf(Experiment experiment) Creates a new experiment by name, which is not persisted until save is calledExperiment.deactivate()Deactivates the experiment, disabling all treatmentsExperiment.deallocate(String treatmentName, int size) De-allocates bins from a treatmentExperiment.deallocateAll()Removes all allocationsGets a specific experiment by nameExperiment.reallocate(String sourceTreatmentName, String destinationTreatmentName, int size) Reallocates bins from one treatment to anotherExperiment.removeOverride(String overrideName) Remove an overrideExperiment.removeOverrides(String treatmentName) Removes all overrides for a given treatmentExperiment.removeTreatment(String name) Removes a treatmentExperiment.save()Saves the experiment and all changes made to itExperiment.setDescription(String description) Experiment.setFilter(FilterExpression filter) Experiment.setHashAttributes(String... hashAttributes) Experiment.setHashAttributes(Set<String> hashAttributes) Experiment.setSeed(int seed) Sets the seed used to compute hashes from identities.Methods in io.rtr.alchemy.models that return types with arguments of type ExperimentModifier and TypeMethodDescriptionExperiments.find()Finds all experimentsFinds an experiment given a set of criteriaExperiments.getActiveExperiments()Returns all active experimentsExperiments.getActiveTreatments(Identity identity) Returns all active treatments for all active experiments for an identity, taking overrides into accountMethods in io.rtr.alchemy.models with parameters of type ExperimentModifier and TypeMethodDescriptionstatic ExperimentExperiment.copyOf(Experiment experiment) voidExperiments.save(Experiment experiment) Persists a specific experiment by name