trait AbtestAlg[F[_]] extends DataProvider[F]
Algebra for ABTest API Final Tagless encoding
- Source
- AbtestAlg.scala
- Alphabetic
- By Inheritance
- AbtestAlg
- DataProvider
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def addGroupMetas(test: TestId, metas: Map[GroupName, GroupMeta], auto: Boolean): F[Entity[Abtest]]
- abstract def addOverrides(featureName: FeatureName, overrides: Overrides): F[Feature]
- abstract def cleanUp(featureName: FeatureName, historyBefore: OffsetDateTime): F[Int]
- abstract def continue(spec: AbtestSpec): F[Entity[Abtest]]
- abstract def create(testSpec: AbtestSpec, auto: Boolean = false): F[Entity[Abtest]]
- abstract def findFeature(featureName: FeatureName): F[Option[Feature]]
- abstract def getAllFeatureNames: F[List[FeatureName]]
- abstract def getAllFeatures: F[Vector[Feature]]
-
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.
- abstract def getAllTestsBySpecialization(specialization: Specialization, time: Option[OffsetDateTime]): F[Vector[Entity[Abtest]]]
-
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.
-
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.
- abstract def getFeature(featureName: FeatureName): F[Feature]
-
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
- abstract def getGroupsWithMeta(query: UserGroupQuery): F[UserGroupQueryResult]
- abstract def getTest(test: TestId): F[Entity[Abtest]]
-
abstract
def
getTestsByFeature(feature: FeatureName): F[Vector[Entity[Abtest]]]
- returns
tests for this feature in chronological descending order
-
abstract
def
getTestsData(at: Instant, duration: Option[FiniteDuration]): F[TestsData]
- Definition Classes
- DataProvider
- abstract def removeAllOverrides(featureName: FeatureName): F[Feature]
- abstract def removeGroupMetas(test: TestId, auto: Boolean): F[Entity[Abtest]]
- abstract def removeOverrides(featureName: FeatureName, userId: UserId): F[Feature]
- abstract def setOverrideEligibilityIn(feature: FeatureName, overrideEligibility: Boolean): F[Feature]
-
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.
- abstract def updateFeature(feature: Feature): F[Feature]
- abstract def updateTest(testId: TestId, spec: AbtestSpec): F[Entity[Abtest]]
- abstract def updateUserMetaCriteria(testId: TestId, userMetaCriteria: UserMetaCriteria, auto: Boolean): F[Entity[Abtest]]
- abstract def warmUp: F[Unit]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def getAllTestsCachedEpoch(time: Option[Long]): F[Vector[(Entity[Abtest], Feature)]]
- def getAllTestsEndAfter(time: Long): F[Vector[Entity[Abtest]]]
- def getAllTestsEpoch(time: Option[Long]): F[Vector[Entity[Abtest]]]
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def getOverrides(featureName: FeatureName): F[Feature]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )