File indexing completed on 2025-01-30 10:10:12
0001
0002
0003
0004
0005
0006
0007
0008
0009 #pragma once
0010
0011 #include <chrono>
0012 #include <string>
0013 #include <vector>
0014
0015 namespace gloo {
0016
0017 class IStore {
0018 public:
0019 virtual ~IStore() = default;
0020
0021 virtual void set(const std::string& key, const std::vector<char>& data) = 0;
0022
0023 virtual std::vector<char> get(const std::string& key) = 0;
0024
0025 virtual void wait(
0026 const std::vector<std::string>& keys,
0027 const std::chrono::milliseconds& timeout) = 0;
0028 };
0029
0030 }