| Package | Description |
|---|---|
| net.openhft.chronicle.testframework |
This package contains the public API for the chronicle-test-framework library.
|
| Modifier and Type | Method and Description |
|---|---|
static Waiters.WaiterBuilder<Boolean> |
Waiters.builder(Supplier<Boolean> condition)
Create a builder that will succeed when the supplied condition is met
|
static <T> Waiters.WaiterBuilder<T> |
Waiters.builder(Supplier<T> valueSupplier,
Predicate<T> conditionTester)
Create a Waiter that will succeed when the value matches the predicate
|
Waiters.WaiterBuilder<T> |
Waiters.WaiterBuilder.checkIntervalMs(long checkIntervalMs)
Specify the interval between checks
|
Waiters.WaiterBuilder<T> |
Waiters.WaiterBuilder.maxTimeToWaitMs(long maxTimeToWaitMs)
Specify the maximum amount of time to wait for the condition to be met
|
Waiters.WaiterBuilder<T> |
Waiters.WaiterBuilder.message(String message)
Specify a static message for the exception
|
Waiters.WaiterBuilder<T> |
Waiters.WaiterBuilder.messageGenerator(Function<T,String> messageGenerator)
Supply a function for generating the exception message
|
Copyright © 2023. All rights reserved.