Clio  develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
CacheLoaderInterface.hpp
1#pragma once
2
3#include <cstdint>
4
5namespace etl {
6
11 virtual ~CacheLoaderInterface() = default;
12
18 virtual void
19 load(uint32_t const seq) = 0;
20
24 virtual void
25 stop() noexcept = 0;
26
30 virtual void
31 wait() noexcept = 0;
32};
33
34} // namespace etl
An interface for the Cache Loader.
Definition CacheLoaderInterface.hpp:10
virtual void stop() noexcept=0
Stop the cache loading process.
virtual void wait() noexcept=0
Wait for all cache loading tasks to complete.
virtual void load(uint32_t const seq)=0
Load the cache with the most recent ledger data.