MCPcopy Create free account
hub / github.com/acl-dev/acl / qlen

Method qlen

lib_acl_cpp/src/disque/disque.cpp:335–349  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

333}
334
335int disque::qlen(const char* name)
336{
337 size_t argc = 2;
338 const char* argv[2];
339 size_t lens[2];
340
341 argv[0] = "QLEN";
342 lens[0] = sizeof("QLEN") - 1;
343
344 argv[1] = name;
345 lens[1] = strlen(name);
346
347 build_request(argc, argv, lens);
348 return get_number();
349}
350
351const disque_job* disque::show(const char* job_id)
352{

Callers 4

test_qlenFunction · 0.45
test_qlenFunction · 0.45
test_qlenFunction · 0.45
test_qlenFunction · 0.45

Calls 1

build_requestFunction · 0.50

Tested by 4

test_qlenFunction · 0.36
test_qlenFunction · 0.36
test_qlenFunction · 0.36
test_qlenFunction · 0.36