resiliency¶
The contents of this module can be included with the header
hpx/modules/resiliency.hpp
. These headers may be used by user-code but are not
guaranteed stable (neither header location nor contents). You are using these at
your own risk. If you wish to use non-public functionality from a module we
strongly suggest only including the module header hpx/modules/resiliency.hpp
, not
the particular header in which the functionality you would like to use is
defined. See Public API for a list of names that are part of the public
HPX API.
Header hpx/resiliency/async_replay.hpp
¶
Header hpx/resiliency/async_replay_executor.hpp
¶
-
namespace
hpx
-
namespace
resiliency
-
namespace
experimental
-
namespace
-
namespace
Header hpx/resiliency/async_replicate.hpp
¶
-
namespace
hpx
-
namespace
resiliency
-
namespace
experimental
Functions
-
template<typename
Vote
, typenamePred
, typenameF
, typename ...Ts
>
hpx::future<typename hpx::util::detail::invoke_deferred_result<F, Ts...>::type>tag_invoke
(async_replicate_vote_validate_t, std::size_t n, Vote &&vote, Pred &&pred, F &&f, Ts&&... ts)¶
-
template<typename
Vote
, typenameF
, typename ...Ts
>
hpx::future<typename hpx::util::detail::invoke_deferred_result<F, Ts...>::type>tag_invoke
(async_replicate_vote_t, std::size_t n, Vote &&vote, F &&f, Ts&&... ts)¶
-
template<typename
-
namespace
-
namespace
Header hpx/resiliency/async_replicate_executor.hpp
¶
-
namespace
hpx
-
namespace
resiliency
-
namespace
experimental
Functions
-
template<typename
Executor
, typenameVote
, typenamePred
, typenameF
, typename ...Ts
>
decltype(auto)tag_invoke
(async_replicate_vote_validate_t, Executor &&exec, std::size_t n, Vote &&vote, Pred &&pred, F &&f, Ts&&... ts)¶
-
template<typename
Executor
, typenameVote
, typenameF
, typename ...Ts
>
decltype(auto)tag_invoke
(async_replicate_vote_t, Executor &&exec, std::size_t n, Vote &&vote, F &&f, Ts&&... ts)¶
-
template<typename
-
namespace
-
namespace
Header hpx/resiliency/config.hpp
¶
Header hpx/resiliency/replay_executor.hpp
¶
-
namespace
hpx
-
namespace
resiliency
-
namespace
experimental
Functions
-
template<typename
BaseExecutor
, typenameValidate
>
replay_executor<BaseExecutor, typename std::decay<Validate>::type>make_replay_executor
(BaseExecutor &exec, std::size_t n, Validate &&validate)¶
-
template<typename
BaseExecutor
>
replay_executor<BaseExecutor, detail::replay_validator>make_replay_executor
(BaseExecutor &exec, std::size_t n)¶
-
template<typename
-
namespace
-
namespace
Header hpx/resiliency/replicate_executor.hpp
¶
-
namespace
hpx
-
namespace
resiliency
-
namespace
experimental
Functions
-
template<typename
BaseExecutor
, typenameVoter
, typenameValidate
>
replicate_executor<BaseExecutor, typename std::decay<Voter>::type, typename std::decay<Validate>::type>make_replicate_executor
(BaseExecutor &exec, std::size_t n, Voter &&voter, Validate &&validate)¶
-
template<typename
BaseExecutor
, typenameValidate
>
replicate_executor<BaseExecutor, detail::replicate_voter, typename std::decay<Validate>::type>make_replicate_executor
(BaseExecutor &exec, std::size_t n, Validate &&validate)¶
-
template<typename
BaseExecutor
>
replicate_executor<BaseExecutor, detail::replicate_voter, detail::replicate_validator>make_replicate_executor
(BaseExecutor &exec, std::size_t n)¶
-
template<typename
BaseExecutor
, typenameVote
, typenameValidate
>
classreplicate_executor
¶ - #include <replicate_executor.hpp>
Public Types
-
template<>
usingexecution_category
= typename BaseExecutor::execution_category¶
-
template<>
usingexecutor_parameters_type
= typename BaseExecutor::executor_parameters_type¶
-
template<>
-
template<typename
-
namespace
-
namespace
Header hpx/resiliency/resiliency.hpp
¶
Header hpx/resiliency/resiliency_cpos.hpp
¶
-
namespace
hpx
-
namespace
resiliency
-
namespace
experimental
Variables
-
hpx::resiliency::experimental::async_replay_validate_t
async_replay_validate
¶
-
hpx::resiliency::experimental::async_replay_t
async_replay
¶
-
hpx::resiliency::experimental::dataflow_replay_validate_t
dataflow_replay_validate
¶
-
hpx::resiliency::experimental::dataflow_replay_t
dataflow_replay
¶
-
hpx::resiliency::experimental::async_replicate_vote_validate_t
async_replicate_vote_validate
¶
-
hpx::resiliency::experimental::async_replicate_vote_t
async_replicate_vote
¶
-
hpx::resiliency::experimental::async_replicate_validate_t
async_replicate_validate
¶
-
hpx::resiliency::experimental::async_replicate_t
async_replicate
¶
-
hpx::resiliency::experimental::dataflow_replicate_vote_validate_t
dataflow_replicate_vote_validate
¶
-
hpx::resiliency::experimental::dataflow_replicate_vote_t
dataflow_replicate_vote
¶
-
hpx::resiliency::experimental::dataflow_replicate_validate_t
dataflow_replicate_validate
¶
-
hpx::resiliency::experimental::dataflow_replicate_t
dataflow_replicate
¶
-
struct
async_replay_t
: public hpx::functional::tag<async_replay_t>¶ - #include <resiliency_cpos.hpp>
Customization point for asynchronously launching given function f repeatedly. Repeat launching on error exactly n times (except if abort_replay_exception is thrown).
-
struct
async_replay_validate_t
: public hpx::functional::tag<async_replay_validate_t>¶ - #include <resiliency_cpos.hpp>
Customization point for asynchronously launching the given function f. repeatedly. Verify the result of those invocations using the given predicate pred. Repeat launching on error exactly n times (except if abort_replay_exception is thrown).
-
struct
async_replicate_t
: public hpx::functional::tag<async_replicate_t>¶ - #include <resiliency_cpos.hpp>
Customization point for asynchronously launching the given function f exactly n times concurrently. Verify the result of those invocations by checking for exception. Return the first valid result.
-
struct
async_replicate_validate_t
: public hpx::functional::tag<async_replicate_validate_t>¶ - #include <resiliency_cpos.hpp>
Customization point for asynchronously launching the given function f exactly n times concurrently. Verify the result of those invocations using the given predicate pred. Return the first valid result.
-
struct
async_replicate_vote_t
: public hpx::functional::tag<async_replicate_vote_t>¶ - #include <resiliency_cpos.hpp>
Customization point for asynchronously launching the given function f exactly n times concurrently. Verify the result of those invocations using the given predicate pred. Run all the valid results against a user provided voting function. Return the valid output.
-
struct
async_replicate_vote_validate_t
: public hpx::functional::tag<async_replicate_vote_validate_t>¶ - #include <resiliency_cpos.hpp>
Customization point for asynchronously launching the given function f exactly n times concurrently. Verify the result of those invocations using the given predicate pred. Run all the valid results against a user provided voting function. Return the valid output.
-
struct
dataflow_replay_t
: public hpx::resiliency::experimental::tag_deferred<dataflow_replay_t, async_replay_t>¶ - #include <resiliency_cpos.hpp>
Customization point for asynchronously launching the given function f. repeatedly. Repeat launching on error exactly n times.
Delay the invocation of f if any of the arguments to f are futures.
-
struct
dataflow_replay_validate_t
: public hpx::resiliency::experimental::tag_deferred<dataflow_replay_validate_t, async_replay_validate_t>¶ - #include <resiliency_cpos.hpp>
Customization point for asynchronously launching the given function f. repeatedly. Verify the result of those invocations using the given predicate pred. Repeat launching on error exactly n times.
Delay the invocation of f if any of the arguments to f are futures.
-
struct
dataflow_replicate_t
: public hpx::resiliency::experimental::tag_deferred<dataflow_replicate_t, async_replicate_t>¶ - #include <resiliency_cpos.hpp>
Customization point for asynchronously launching the given function f exactly n times concurrently. Return the first valid result.
Delay the invocation of f if any of the arguments to f are futures.
-
struct
dataflow_replicate_validate_t
: public hpx::resiliency::experimental::tag_deferred<dataflow_replicate_validate_t, async_replicate_validate_t>¶ - #include <resiliency_cpos.hpp>
Customization point for asynchronously launching the given function f exactly n times concurrently. Verify the result of those invocations using the given predicate pred. Return the first valid result.
Delay the invocation of f if any of the arguments to f are futures.
-
struct
dataflow_replicate_vote_t
: public hpx::resiliency::experimental::tag_deferred<dataflow_replicate_vote_t, async_replicate_vote_t>¶ - #include <resiliency_cpos.hpp>
Customization point for asynchronously launching the given function f exactly n times concurrently. Run all the valid results against a user provided voting function. Return the valid output.
Delay the invocation of f if any of the arguments to f are futures.
-
struct
dataflow_replicate_vote_validate_t
: public hpx::resiliency::experimental::tag_deferred<dataflow_replicate_vote_validate_t, async_replicate_vote_validate_t>¶ - #include <resiliency_cpos.hpp>
Customization point for asynchronously launching the given function f exactly n times concurrently. Run all the valid results against a user provided voting function. Return the valid output.
Delay the invocation of f if any of the arguments to f are futures.
-
template<typename
Tag
, typenameBaseTag
>
structtag_deferred
: public hpx::functional::tag<Tag>¶ - #include <resiliency_cpos.hpp>
-
hpx::resiliency::experimental::async_replay_validate_t
-
namespace
-
namespace