CatapultServer
v0.5.0.1 (Elephant)
|
A parallel validation policy that performs parallel validations on multiple threads. More...
Public Member Functions | |
virtual | ~ParallelValidationPolicy ()=default |
virtual thread::future< ValidationResult > | validateShortCircuit (const model::WeakEntityInfos &entityInfos, const ValidationFunctions &validationFunctions) const =0 |
Validates all entityInfos using validationFunctions and short circuits on first failure. More... | |
virtual thread::future< std::vector< ValidationResult > > | validateAll (const model::WeakEntityInfos &entityInfos, const ValidationFunctions &validationFunctions) const =0 |
Validates all entityInfos using validationFunctions and does NOT short circuit on failures. More... | |
A parallel validation policy that performs parallel validations on multiple threads.
|
virtualdefault |
|
pure virtual |
Validates all entityInfos using validationFunctions and does NOT short circuit on failures.
|
pure virtual |
Validates all entityInfos using validationFunctions and short circuits on first failure.