Skip to content

sgns::processing::TaskKeys

#include <TaskKeys.hpp>

Public Functions

Name
std::string ProcessingPrefix()
Returns the processing base prefix for the task queue.
std::string TaskListKey()
std::string SubTaskListKey()
std::string SubTaskListKey(std::string_view taskId)
std::string TaskKey(std::string_view taskId)
std::string SubTaskKey(std::string_view taskId, std::string_view subTaskId)
std::string ClaimableListKey()
std::string ClaimableTaskKey(std::string_view taskId)
std::string ResultTaskKey(std::string_view taskId)
std::string LockKey(std::string_view taskKey)

Public Functions Documentation

function ProcessingPrefix

static inline std::string ProcessingPrefix()

Returns the processing base prefix for the task queue.

Return: "/<prefix_base

function TaskListKey

static inline std::string TaskListKey()

function SubTaskListKey

static inline std::string SubTaskListKey()

function SubTaskListKey

static inline std::string SubTaskListKey(
    std::string_view taskId
)

function TaskKey

static inline std::string TaskKey(
    std::string_view taskId
)

function SubTaskKey

static inline std::string SubTaskKey(
    std::string_view taskId,
    std::string_view subTaskId
)

function ClaimableListKey

static inline std::string ClaimableListKey()

function ClaimableTaskKey

static inline std::string ClaimableTaskKey(
    std::string_view taskId
)

function ResultTaskKey

static inline std::string ResultTaskKey(
    std::string_view taskId
)

function LockKey

static inline std::string LockKey(
    std::string_view taskKey
)

Updated on 2026-06-05 at 17:22:18 -0700