final
class
DefaultAbtestAlg[F[_]] extends AbtestAlg[F]
Instance Constructors
-
new
DefaultAbtestAlg(refreshPeriod: FiniteDuration)(implicit abTestDao: EntityDAO[F, Abtest, JsObject], featureDao: EntityDAO[F, Feature, JsObject], refreshRef: RefreshRef[F, Vector[(Entity[Abtest], Feature)]], nowF: F[OffsetDateTime], F: MonadThrowable[F], eligibilityControl: EligibilityControl[F], idSelector: (EntityId) ⇒ JsObject)
Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
-
-
final
def
asInstanceOf[T0]: T0
-
def
clone(): AnyRef
-
-
-
final
def
eq(arg0: AnyRef): Boolean
-
def
equals(arg0: Any): Boolean
-
def
finalize(): Unit
-
def
getAllFeatures: F[List[FeatureName]]
-
def
getAllTests(time: Option[OffsetDateTime]): F[Vector[Entity[Abtest]]]
-
def
getAllTestsBySpecialization(specialization: Specialization, time: Option[OffsetDateTime]): F[Vector[Entity[Abtest]]]
-
def
getAllTestsCached(time: Option[OffsetDateTime]): F[Vector[(Entity[Abtest], Feature)]]
-
-
def
getAllTestsEndAfter(time: OffsetDateTime): F[Vector[Entity[Abtest]]]
-
def
getAllTestsEndAfter(time: Long): F[Vector[Entity[Abtest]]]
-
def
getAllTestsEpoch(time: Option[Long]): F[Vector[Entity[Abtest]]]
-
def
getAllTestsWithFeatures(ofTime: OffsetDateTime): F[Vector[(Entity[Abtest], Feature)]]
-
final
def
getClass(): Class[_]
-
def
getGroupAssignments(ids: List[UserId], featureName: FeatureName, at: OffsetDateTime): F[List[(UserId, GroupName)]]
-
def
getGroups(userId: UserId, time: Option[OffsetDateTime], userTags: List[Tag]): F[Map[FeatureName, GroupName]]
-
-
-
-
def
getTestByFeature(feature: FeatureName, at: OffsetDateTime): F[Entity[Abtest]]
-
-
def
getTestsByFeature(feature: FeatureName): F[Vector[Entity[Abtest]]]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
removeAllOverrides(featureName: FeatureName): F[Feature]
-
-
def
removeOverrides(featureName: FeatureName, userId: UserId): F[Feature]
-
def
setOverrideEligibilityIn(featureName: FeatureName, overrideEligibility: Boolean): F[Feature]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Inherited from AnyRef
Inherited from Any