Packages

trait AbtestAlg[F[_]] extends DataProvider[F]

Algebra for ABTest API Final Tagless encoding

Source
AbtestAlg.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbtestAlg
  2. DataProvider
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def addGroupMetas(test: TestId, metas: Map[GroupName, GroupMeta], auto: Boolean): F[Entity[Abtest]]
  2. abstract def addOverrides(featureName: FeatureName, overrides: Overrides): F[Feature]
  3. abstract def cleanUp(featureName: FeatureName, historyBefore: OffsetDateTime): F[Int]
  4. abstract def continue(spec: AbtestSpec): F[Entity[Abtest]]
  5. abstract def create(testSpec: AbtestSpec, auto: Boolean = false): F[Entity[Abtest]]
  6. abstract def findFeature(featureName: FeatureName): F[Option[Feature]]
  7. abstract def getAllFeatureNames: F[List[FeatureName]]
  8. abstract def getAllFeatures: F[Vector[Feature]]
  9. abstract def getAllTests(time: Option[OffsetDateTime]): F[Vector[Entity[Abtest]]]

    Get all the tests

    Get all the tests

    time

    optional time constraint, if set, this will only return tests as of that time.

  10. abstract def getAllTestsBySpecialization(specialization: Specialization, time: Option[OffsetDateTime]): F[Vector[Entity[Abtest]]]
  11. abstract def getAllTestsCached(time: Option[OffsetDateTime]): F[Vector[(Entity[Abtest], Feature)]]

    Get all the tests together with their Feature cached.

    Get all the tests together with their Feature cached.

    time

    optional time constraint, if set, this will only return tests as of that time.

  12. abstract def getAllTestsEndAfter(time: OffsetDateTime): F[Vector[Entity[Abtest]]]

    Get all the tests that end after a certain time

    Get all the tests that end after a certain time

    time

    optional time constraint, if set, this will only return tests as of that time.

  13. abstract def getFeature(featureName: FeatureName): F[Feature]
  14. abstract def getGroupAssignments(ids: List[String], feature: FeatureName, at: OffsetDateTime): F[List[(String, GroupName)]]

    Get the assignments for a list of ids bypassing the eligibility control

  15. abstract def getGroupsWithMeta(query: UserGroupQuery): F[UserGroupQueryResult]
  16. abstract def getTest(test: TestId): F[Entity[Abtest]]
  17. abstract def getTestsByFeature(feature: FeatureName): F[Vector[Entity[Abtest]]]

    returns

    tests for this feature in chronological descending order

  18. abstract def getTestsData(at: Instant, duration: Option[FiniteDuration]): F[TestsData]
    Definition Classes
    DataProvider
  19. abstract def removeAllOverrides(featureName: FeatureName): F[Feature]
  20. abstract def removeGroupMetas(test: TestId, auto: Boolean): F[Entity[Abtest]]
  21. abstract def removeOverrides(featureName: FeatureName, userId: UserId): F[Feature]
  22. abstract def setOverrideEligibilityIn(feature: FeatureName, overrideEligibility: Boolean): F[Feature]
  23. abstract def terminate(test: TestId): F[Option[Entity[Abtest]]]

    Stop a test before it ends

    Stop a test before it ends

    returns

    Some(test) if it already started, None if not started yet.

  24. abstract def updateFeature(feature: Feature): F[Feature]
  25. abstract def updateTest(testId: TestId, spec: AbtestSpec): F[Entity[Abtest]]
  26. abstract def updateUserMetaCriteria(testId: TestId, userMetaCriteria: UserMetaCriteria, auto: Boolean): F[Entity[Abtest]]
  27. abstract def warmUp: F[Unit]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def getAllTestsCachedEpoch(time: Option[Long]): F[Vector[(Entity[Abtest], Feature)]]
  9. def getAllTestsEndAfter(time: Long): F[Vector[Entity[Abtest]]]
  10. def getAllTestsEpoch(time: Option[Long]): F[Vector[Entity[Abtest]]]
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def getOverrides(featureName: FeatureName): F[Feature]
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from DataProvider[F]

Inherited from AnyRef

Inherited from Any

Ungrouped