File ExecutorContext.h
-
namespace faabric
-
namespace executor
-
class ExecutorContext
- #include <ExecutorContext.h>
Globally-accessible wrapper that allows executing applications to query their execution context. The context is thread-local, so applications can query which specific message they are executing.
Public Functions
-
inline Executor *getExecutor()
-
inline std::shared_ptr<faabric::BatchExecuteRequest> getBatchRequest()
-
inline faabric::Message &getMsg()
-
inline int getMsgIdx()
Public Static Functions
-
static bool isSet()
-
static void unset()
-
static std::shared_ptr<ExecutorContext> get()
-
inline Executor *getExecutor()
-
class ExecutorContextException : public faabric::util::FaabricException
Public Functions
-
inline explicit ExecutorContextException(std::string message)
-
inline explicit ExecutorContextException(std::string message)
-
class ExecutorContext
-
namespace executor