Readiness

com.worxbend.ferrite.wiring.Readiness
trait Readiness

Whether this replica can serve a search right now.

An interface with one method rather than a direct dependency on Database from the controller, so the readiness probe can be driven in a test without a JDBC connection — a health check that can only be tested against a real database is a health check nobody tests.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Value members

Abstract methods

def check(): Future[Boolean]