20#ifndef GEODE_EXECUTION_H_
21#define GEODE_EXECUTION_H_
29#include "internal/geode_globals.hpp"
95 const std::string& func,
96 std::chrono::milliseconds timeout = DEFAULT_QUERY_RESPONSE_TIMEOUT);
114 const std::shared_ptr<CacheableVector>& routingObj,
115 const std::shared_ptr<Cacheable>& args,
116 const std::shared_ptr<ResultCollector>& rs,
const std::string& func,
117 std::chrono::milliseconds timeout);
120 std::unique_ptr<ExecutionImpl> impl_;
122 explicit Execution(std::unique_ptr<ExecutionImpl> impl);
124 friend ExecutionImpl;
Contains generic template definitions for Cacheable types and instantiations for built-in types.
gathers results from function execution
Definition Execution.hpp:47
Execution withArgs(std::shared_ptr< Cacheable > args)
Specifies the user data passed to the function when it is executed.
Execution withCollector(std::shared_ptr< ResultCollector > rs)
Specifies the ResultCollector that will receive the results after the function has been executed.
std::shared_ptr< ResultCollector > execute(const std::shared_ptr< CacheableVector > &routingObj, const std::shared_ptr< Cacheable > &args, const std::shared_ptr< ResultCollector > &rs, const std::string &func, std::chrono::milliseconds timeout)
Executes the function using its name.
std::shared_ptr< ResultCollector > execute(const std::string &func, std::chrono::milliseconds timeout=DEFAULT_QUERY_RESPONSE_TIMEOUT)
Executes the function using its name.
Execution withFilter(std::shared_ptr< CacheableVector > routingObj)
Specifies a data filter of routing objects for selecting the Geode members to execute the function.
entry point for function execution
Definition FunctionService.hpp:45