File SnapshotClient.cpp
-
namespace faabric
-
namespace snapshot
Functions
-
std::vector<std::pair<std::string, std::shared_ptr<faabric::util::SnapshotData>>> getSnapshotPushes()
-
std::vector<std::pair<std::string, std::vector<faabric::util::SnapshotDiff>>> getSnapshotDiffPushes()
-
std::vector<std::pair<std::string, std::string>> getSnapshotDeletes()
-
std::vector<std::pair<std::string, MockThreadResult>> getThreadResults()
-
void clearMockSnapshotRequests()
-
std::shared_ptr<SnapshotClient> getSnapshotClient(const std::string &otherHost)
-
void clearSnapshotClients()
Variables
-
static std::mutex mockMutex
-
static std::vector<std::pair<std::string, std::shared_ptr<faabric::util::SnapshotData>>> snapshotPushes
-
static std::vector<std::pair<std::string, std::vector<faabric::util::SnapshotDiff>>> snapshotDiffPushes
-
static std::vector<std::pair<std::string, std::string>> snapshotDeletes
-
static std::vector<std::pair<std::string, MockThreadResult>> threadResults
-
static faabric::util::ConcurrentMap<std::string, std::shared_ptr<faabric::snapshot::SnapshotClient>> snapshotClients
-
std::vector<std::pair<std::string, std::shared_ptr<faabric::util::SnapshotData>>> getSnapshotPushes()
-
namespace snapshot