6#ifndef OPENCBDC_TX_SRC_PARSEC_DIRECTORY_IMPL_H_
7#define OPENCBDC_TX_SRC_PARSEC_DIRECTORY_IMPL_H_
17 explicit impl(
size_t n_shards);
Buffer to store and retrieve byte data.
Implementation of a directory which map keys to shard IDs. Thread-safe.
auto key_location(runtime_locking_shard::key_type key, key_location_callback_type result_callback) -> bool override
Returns the shard ID responsible for the given key.
impl(size_t n_shards)
Constructor.
Interface for a directory. Maps keys to shard IDs.
std::function< void(key_location_return_type)> key_location_callback_type
Callback function type for key location result.
SipHash function to generate STL data structure hash keys for system IDs.