2 #include "../acl_cpp_define.hpp" 5 #include "../stdlib/string.hpp" 6 #include "../redis/redis_command.hpp" 8 #ifndef ACL_CLIENT_ONLY 71 const char* addjob(
const char*
name,
const char* job,
72 int timeout,
const std::map<string, int>* args = NULL);
73 const char* addjob(
const char*
name,
const string& job,
74 int timeout,
const std::map<string, int>* args = NULL);
75 const char* addjob(
const char*
name,
const void* job,
size_t job_len,
76 int timeout,
const std::map<string, int>* args = NULL);
93 const char* addjob(
const char*
name,
const char* job,
95 const char* addjob(
const char*
name,
const string& job,
97 const char* addjob(
const char*
name,
const void* job,
size_t job_len,
114 const std::vector<disque_job*>* getjob(
const std::vector<string>& names,
115 size_t timeout,
size_t count);
116 const std::vector<disque_job*>* getjob(
const char*
name,
117 size_t timeout,
size_t count);
133 int ackjob(
const std::vector<string>& job_ids);
148 int fastack(
const std::vector<string>& job_ids);
163 const std::vector<disque_job*>* qpeek(
const char*
name,
int count);
173 int qlen(
const char*
name);
195 int enqueue(
const std::vector<string>& job_ids);
206 int dequeue(
const std::vector<string>& job_ids);
219 int deljob(
const std::vector<string>& job_ids);
229 bool info(std::map<string, string>& out);
238 const std::vector<disque_node*>* hello();
241 int jobs_bat(
const std::vector<string>& job_ids,
const char* cmd);
245 std::vector<disque_job*> jobs_;
247 const std::vector<disque_job*>* get_jobs(
const char*
name);
253 std::vector<disque_node*> nodes_;
261 #endif // ACL_CLIENT_ONLY
HTTP_API void const char * name
#define ACL_CPP_DEPRECATED
class redis_client_pool disque_client_pool
class redis_client_cluster disque_client_cluster
class redis_client disque_client