object HealthCheckMagnet
- Alphabetic
- By Inheritance
- HealthCheckMagnet
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
implicit
def
fromBooleanCheck[T](checker: ByName[T])(implicit convert: (T) ⇒ Boolean): HealthCheckMagnet
Magnet for checkers returning a scala.Boolean (or convertible to Boolean).
-
implicit
def
fromEitherChecker[T, U](checker: ByName[Either[T, U]]): HealthCheckMagnet
Magnet for checkers returning an scala.util.Either.
-
implicit
def
fromFutureCheck[T](futureChecker: ByName[Future[T]])(implicit timeout: FiniteDuration = 3.seconds): HealthCheckMagnet
Magnet for checkers returning a scala.concurrent.Future.
Magnet for checkers returning a scala.concurrent.Future.
The check will block waiting for the scala.concurrent.Future to complete. It is given a 3-second default timeout after which the scala.concurrent.Future will be considered a failure and the health check will consequently fail.
-
implicit
def
fromMetricsResultCheck(checker: ByName[Result]): HealthCheckMagnet
Magnet for checkers returning a com.codahale.metrics.health.HealthCheck.Result.
-
implicit
def
fromTryChecker[T](checker: ByName[Try[T]]): HealthCheckMagnet
Magnet for checkers returning an scala.util.Try.
-
implicit
def
fromUnitCheck(checker: ByName[Unit]): HealthCheckMagnet
Magnet for checkers returning a scala.Unit.
Magnet for checkers returning a scala.Unit.
If the
checkerthrows an exception the check is considered failed, otherwise a success. -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )