38 # include <dsn/service_api_c.h> 40 # include <dsn/cpp/utils.h> 41 # include <dsn/tool-api/task.h> 53 std::string source_dir;
54 std::vector<std::string> files;
69 class task_worker_pool;
75 template <
typename T>
static nfs_node* create(service_node* node)
80 typedef nfs_node* (*factory)(service_node*);
83 nfs_node(service_node* node) : _node(node) {}
87 virtual ::dsn::error_code start(
io_modifer& ctx) = 0;
91 virtual void call(std::shared_ptr<remote_copy_request> rci,
aio_task* callback) = 0;
93 service_node* node() {
return _node; }
task queue batches the input queue for the bound task worker(s) (threads)
Definition: task_queue.h:55
Definition: auto_codes.h:303
Definition: task_spec.h:184