|
| serverlet (const char *nm, int task_bucket_count=8) |
|
const std::string & | name () const |
|
| clientlet (int task_bucket_count=13) |
|
dsn_task_tracker_t | tracker () const |
|
rpc_address | primary_address () |
|
|
template<typename TRequest > |
bool | register_rpc_handler (dsn_task_code_t rpc_code, const char *rpc_name_, void(T::*handler)(const TRequest &), dsn_gpid gpid=dsn_gpid{0}) |
|
template<typename TRequest , typename TResponse > |
bool | register_rpc_handler (dsn_task_code_t rpc_code, const char *rpc_name_, void(T::*handler)(const TRequest &, TResponse &), dsn_gpid gpid=dsn_gpid{0}) |
|
template<typename TRequest , typename TResponse > |
bool | register_async_rpc_handler (dsn_task_code_t rpc_code, const char *rpc_name_, void(T::*handler)(const TRequest &, rpc_replier< TResponse > &), dsn_gpid gpid=dsn_gpid{0}) |
|
bool | register_rpc_handler (dsn_task_code_t rpc_code, const char *rpc_name_, void(T::*handler)(dsn_message_t), dsn_gpid gpid=dsn_gpid{0}) |
|
bool | unregister_rpc_handler (dsn_task_code_t rpc_code, dsn_gpid gpid=dsn_gpid{0}) |
|
template<typename TResponse > |
void | reply (dsn_message_t request, const TResponse &resp) |
|
void | check_hashed_access () |
|
|
static uint32_t | random32 (uint32_t min, uint32_t max) |
|
static uint64_t | random64 (uint64_t min, uint64_t max) |
|
static uint64_t | now_ns () |
|
static uint64_t | now_us () |
|
static uint64_t | now_ms () |
|
The documentation for this class was generated from the following file: