async_set
异步写单行数据
///
/// \brief asynchronous set
/// store the k-v to the cluster.
/// will not be blocked, return immediately.
/// key is composed of hashkey and sortkey.
/// \param hashkey
/// used to decide which partition to put this k-v
/// \param sortkey
/// all the k-v under hashkey will be stored by sortkey.
/// \param value
/// the value we want to store.
/// \param callback
/// the callback function will be invoked after operation finished or error occurred.
/// \param timeout_milliseconds
/// if wait longer than this value, will return time out error.
/// \param ttl_seconds
/// time to live of this value, if expired, will return not found; 0 means no ttl.
/// \return
/// void.
///
virtual void async_set(const std::string &hashkey,
const std::string &sortkey,
const std::string &value,
async_set_callback_t &&callback = nullptr,
int timeout_milliseconds = 5000,
int ttl_seconds = 0) = 0;