Class faabric::scheduler::Scheduler
-
class Scheduler
Public Functions
-
Scheduler()
-
~Scheduler()
-
void reset()
-
void resetThreadLocalCache()
-
void shutdown()
-
inline bool isShutdown()
-
int reapStaleExecutors()
-
void setThreadResultLocally(uint32_t appId, uint32_t msgId, int32_t returnValue, faabric::transport::Message &message)
Caches a message along with the thread result, to allow the thread result to refer to data held in that message (i.e. snapshot diffs). The message will be destroyed once the thread result is consumed.
-
size_t getCachedMessageCount()
-
std::string getThisHost()
-
void addHostToGlobalSet()
-
void removeHostFromGlobalSet(const std::string &host)
-
void clearRecordedMessages()
-
Scheduler()