Interface for a directory. Maps keys to shard IDs.
More...
#include <interface.hpp>
Interface for a directory. Maps keys to shard IDs.
Definition at line 13 of file parsec/directory/interface.hpp.
◆ key_location_callback_type
◆ key_location_return_type
◆ ~interface()
virtual cbdc::parsec::directory::interface::~interface |
( |
| ) |
|
|
virtualdefault |
◆ interface() [1/3]
cbdc::parsec::directory::interface::interface |
( |
| ) |
|
|
default |
◆ interface() [2/3]
cbdc::parsec::directory::interface::interface |
( |
const interface & | | ) |
|
|
delete |
◆ interface() [3/3]
cbdc::parsec::directory::interface::interface |
( |
interface && | | ) |
|
|
delete |
◆ key_location()
Returns the shard ID responsible for the given key.
- Parameters
-
key | key to locate. |
result_callback | function to call with key location. |
- Returns
- true if the operation was initiated successfully.
Implemented in cbdc::parsec::directory::impl.
◆ operator=() [1/2]
auto cbdc::parsec::directory::interface::operator= |
( |
const interface & | | ) |
-> interface &=delete |
|
delete |
◆ operator=() [2/2]
The documentation for this class was generated from the following file: