object HealthCheck
- Alphabetic
- By Inheritance
- HealthCheck
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- implicit def checkMonoid[F[_], H[_]](implicit arg0: Applicative[F], arg1: Applicative[H], M: Monoid[Health]): Monoid[HealthCheck[F, H]]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- def const[F[_], H[_]](health: Health)(implicit arg0: Applicative[F], arg1: Applicative[H]): HealthCheck[F, H]
A healthcheck that always returns the supplied health value.
- def either[F[_], E, H[_], I[_]](a: HealthCheck[F, H], b: HealthCheck[F, I])(implicit arg0: ApplicativeError[F, E]): HealthCheck[F, [γ$1$]EitherK[H, I, γ$1$]]
Combines two healthchecks by running the first one and recovering with the second one in case of failure in F.
Combines two healthchecks by running the first one and recovering with the second one in case of failure in F.
If H and I are the same, the result's EitherK can be combined to a single H/I container using
mods.mergeEitherK
. - final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def functorK[F[_]](implicit arg0: Functor[F]): FunctorK[[β$5$[_$2]]HealthCheck[F, β$5$]]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- implicit def healthCheckEq[F[_], H[_]](implicit F: Eq[F[HealthResult[H]]]): Eq[HealthCheck[F, H]]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def liftF[F[_], H[_]](_check: F[HealthResult[H]]): HealthCheck[F, H]
- def liftFBoolean[F[_]](fb: F[Boolean])(implicit arg0: Functor[F]): HealthCheck[F, Id]
Lifts a Boolean-returning action to a healthcheck that yields Sick if the action returns false.
- 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()
- def parTupled[F[_], H[_], I[_]](a: HealthCheck[F, H], b: HealthCheck[F, I])(implicit arg0: NonEmptyParallel[F]): HealthCheck[F, [γ$3$]Tuple2K[H, I, γ$3$]]
Combines two healthchecks by running them in parallel, then wrapping the result in a Tuple2K.
Combines two healthchecks by running them in parallel, then wrapping the result in a Tuple2K.
If H and I are the same, the result's Tuple2K can be combined to a single H/I container using
mods.mergeTuple2K
. - def race[F[_], H[_], I[_]](a: HealthCheck[F, H], b: HealthCheck[F, I])(implicit arg0: Concurrent[F]): HealthCheck[F, [γ$4$]EitherK[H, I, γ$4$]]
Races two healthchecks against each other.
Races two healthchecks against each other. The first one to complete with a result (regardless of whether healthy or sick) will cancel the other.
If H and I are the same, the result's EitherK can be combined to a single H/I container using
mods.mergeEitherK
. - final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def tupled[F[_], H[_], I[_]](a: HealthCheck[F, H], b: HealthCheck[F, I])(implicit arg0: Apply[F]): HealthCheck[F, [γ$2$]Tuple2K[H, I, γ$2$]]
Combines two healthchecks by running them both, then wrapping the result in a Tuple2K.
Combines two healthchecks by running them both, then wrapping the result in a Tuple2K.
If H and I are the same, the result's Tuple2K can be combined to a single H/I container using
mods.mergeTuple2K
. - final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
- Deprecated
(Since version ) see corresponding Javadoc for more information.