Package-level declarations

Types

Link copied to clipboard
class CheckpointingFileDataSupplier(fileName: String, checkpointName: String, split: String = " ", checkpointPredicate: CheckpointPredicate = defaultCheckpointPredicate) : RequestDataSupplier<List<String>> , FullDataAfterHook, AutoCloseable, OnErrorWithState

A checkpointing file data supplier works similarly to the FileDataSupplier in use under good conditions. When failing through, the checkpointing supplier will be able to capture those requests that did or didn't pass a predicate, and subsequently restart from a known state.

Link copied to clipboard
typealias CheckpointPredicate = AfterCtx<*>.() -> Boolean
Link copied to clipboard
class FileDataSupplier(name: String, split: String = " ") : RequestDataSupplier<List<String>>
Link copied to clipboard
class ForDuration<T>(duration: Duration, supplier: () -> T, clazz: Class<T>) : CallDecorator<T> , RequestDataSupplier<T> , LifecycleController
Link copied to clipboard
class ListDataSupplier<T>(list: Lazy<List<T>>, clazz: Class<T>) : RequestDataSupplier<T>
Link copied to clipboard
class ModifiableSupplier<T>(delegate: RequestDataSupplier<T>) : RequestDataSupplier<T> , SimpleAfterHook

An after hook is necessary for this hook - as it's important to track if all requests have been attempted. This is due to the fact that the very last request may add more data, and thus when the delegate sends its last RequestData we must wait till that data has run through the after hooks before we know that there's no more RequestData to add to the modifiedQueue.

Link copied to clipboard
class Repeat(repeat: Int) : RequestDataSupplier<Unit>