6#ifndef OPENCBDC_TX_SRC_PARSEC_DIRECTORY_INTERFACE_H_
7#define OPENCBDC_TX_SRC_PARSEC_DIRECTORY_INTERFACE_H_
Buffer to store and retrieve byte data.
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.
auto operator=(interface &&) -> interface &=delete
interface(interface &&)=delete
auto operator=(const interface &) -> interface &=delete
virtual auto key_location(runtime_locking_shard::key_type key, key_location_callback_type result_callback) -> bool=0
Returns the shard ID responsible for the given key.
uint64_t key_location_return_type
Key location return type. Shard ID where key is located.
virtual ~interface()=default
interface(const interface &)=delete