All Classes and Interfaces
Class
Description
Condition implementation which takes an executable assertion which should throw
AssertionError on assertion failure.Awaitility is a small Java DSL for synchronizing (waiting for) asynchronous
operations.
Wraps and delegates to another callable and invokes the
ConditionEvaluationHandler.This is an internal class and should NOT be used outside of Awaitility! Use it at own risk (please don't :)).
Handler for
Condition implementations that calls ConditionEvaluationListener with condition evaluation result and message.A ConditionEvaluationListener is called each time a condition has been evaluated by Awaitility.
Simple implementation of
ConditionEvaluationListener that prints the condition evaluation results to the console using System.out.println by default.A factory for creating
Condition objects.A runtime exception thrown by Awaitility when a condition was not fulfilled within the specified threshold.
A
Throwable used as a cause if deadlocked threads are detected by Awaitility.Duration class.
Contains properties of the condition at its current stage.
Handles how threads and thread-pools are cleanup after each conditional evaluation round.
Handles the lifecycle of an executor service.
Generates a non-linear poll interval based on the fibonacci sequence: [0, 1, 1, 2, 3, 5, 8, 13, ..]
FieldAnnotationMatcherStrategy class.
Class that should be implemented by field matching strategies.
A run-time exception that may be thrown to indicate that a field was not
found.
The field supplier builder allows you to create a supplier based a field.
Generates a fixed (linear) poll interval based on the supplied duration
The Class HamcrestToStringFilter.
Please don't use this class directly, it's for internal purposes only and will be moved/renamed without notice!
A poll interval that is generated by a function and a start duration.
Helper class for generating nicer error messages when lambda expression are used
A poll interval represents how often Awaitility will pause before reevaluating the supplied condition.
Creates an executor service that runs each task in the thread
that invokes
execute/submit, as in ThreadPoolExecutor.CallerRunsPolicy This
applies both to individually submitted tasks and to collections of tasks
submitted via invokeAll or invokeAny.If thrown, indicates terminal failure condition has been reached, and that the system should immediately stop polling
conditions and fail.
This interface replaces
Runnable in cases when
execution of ThrowingRunnable.run() method may throw exception.Allow Awaitility extensions to define their own error messages.
A run-time exception that may be thrown to indicate that too many fields were
found.
These code snippets are copied from the Guava library (e.g.
Interface that defines the wait strategy.
Various utilities for accessing internals of a class.