def get_jids():
    serv = _get_serv(ret=None)
    jids = _get_list(serv, 'jids')
    loads = serv.get_multi(jids)  # {jid: load, jid: load, ...}
    ret = {}
    for jid, load in six.iteritems(loads):
        ret[jid] = salt.utils.jid.format_jid_instance(jid, json.loads(load))
    return ret
Return a list of all job ids
dataset/ETHPy150Open saltstack/salt/salt/returners/memcache_return.py/get_jids