20 #include "metadata_management.h"
71 const char *shmem_name);
77 bool is_buffer_organizer =
false);
80 Arena *arena,
const char *addr,
int num_threads,
86 #if defined(HERMES_RPC_THALLIUM)
87 #include "rpc_thallium.h"
89 #error "RPC implementation required (e.g., -DHERMES_RPC_THALLIUM)."
Definition: adapter_utils.cc:35
void InitRpcContext(RpcContext *rpc, u32 num_nodes, u32 node_id, Config *config)
Definition: rpc_thallium.cc:643
void InitRpcClients(RpcContext *rpc)
Definition: rpc_thallium.cc:679
void StartBufferOrganizer(SharedMemoryContext *context, RpcContext *rpc, Arena *arena, const char *addr, int num_threads, int port)
Definition: rpc_thallium.cc:504
void FinalizeClient(SharedMemoryContext *context, RpcContext *rpc, CommunicationContext *comm, Arena *trans_arena, bool stop_daemon)
Definition: rpc_thallium.cc:752
void RunDaemon(SharedMemoryContext *context, RpcContext *rpc, CommunicationContext *comm, Arena *trans_arena, const char *shmem_name)
Definition: rpc_thallium.cc:720
std::string GetProtocol(RpcContext *rpc)
Definition: rpc_thallium.cc:667
uint32_t u32
Definition: hermes_types.h:42
void ShutdownRpcClients(RpcContext *rpc)
Definition: rpc_thallium.cc:691
std::string GetServerName(RpcContext *rpc, u32 node_id, bool is_buffer_organizer=false)
Definition: rpc_thallium.cc:802
void(* StartFunc)(SharedMemoryContext *, RpcContext *, Arena *, const char *, int)
Definition: rpc.h:30
const int kMaxServerSuffixSize
Definition: rpc.h:27
const int kMaxServerNameSize
Definition: rpc.h:26
void * CreateRpcState(Arena *arena)
Definition: rpc_thallium.cc:660
void FinalizeRpcContext(RpcContext *rpc, bool is_daemon)
Definition: rpc_thallium.cc:704
Definition: memory_management.h:84
size_t state_size
Definition: rpc.h:37
void * state
Definition: rpc.h:36
Definition: communication.h:35
Definition: hermes_types.h:258
StartFunc start_server
Definition: rpc.h:61
ClientRpcContext client_rpc
Definition: rpc.h:44
int port
Definition: rpc.h:53
size_t state_size
Definition: rpc.h:47
u32 node_id
Definition: rpc.h:51
u32 num_nodes
Definition: rpc.h:52
ShmemString * host_names
Definition: rpc.h:50
void * state
Definition: rpc.h:45
bool use_host_file
Definition: rpc.h:54
Definition: buffer_pool.h:273
Definition: metadata_management.h:45