mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
Signed-off-by: Alexey Polyudov <apolyudov@google.com> Change-Id: I2cf5bf225b76f4c1541954651f3a7544a14e0cec
43 lines
1.6 KiB
C++
43 lines
1.6 KiB
C++
#include "platform/reliability_utils.h"
|
|
|
|
namespace location {
|
|
namespace nearby {
|
|
|
|
bool ReliabilityUtils::attemptRepeatedly(Ptr<Runnable> runnable,
|
|
const std::string &runnable_name,
|
|
Ptr<Runnable> recovery_runnable) {
|
|
return false;
|
|
}
|
|
|
|
bool ReliabilityUtils::attemptRepeatedly(Ptr<Runnable> runnable,
|
|
const std::string &runnable_name,
|
|
Ptr<Runnable> recovery_runnable,
|
|
const AtomicBoolean &isCancelled) {
|
|
return false;
|
|
}
|
|
|
|
bool ReliabilityUtils::attemptRepeatedly(Ptr<Runnable> runnable,
|
|
const std::string &runnable_name,
|
|
std::int64_t recovery_pause_millis) {
|
|
return false;
|
|
}
|
|
|
|
bool ReliabilityUtils::attemptRepeatedly(Ptr<Runnable> runnable,
|
|
const std::string &runnable_name,
|
|
std::int64_t recovery_pause_millis,
|
|
const AtomicBoolean &isCancelled) {
|
|
return false;
|
|
}
|
|
|
|
bool ReliabilityUtils::attemptRepeatedly(Ptr<Runnable> runnable,
|
|
const std::string &runnable_name,
|
|
int num_attempts,
|
|
std::int64_t recovery_pause_millis,
|
|
Ptr<Runnable> recovery_runnable,
|
|
const AtomicBoolean &isCancelled) {
|
|
return false;
|
|
}
|
|
|
|
} // namespace nearby
|
|
} // namespace location
|