MCPcopy Create free account
hub / github.com/ceph/ceph / set_connection

Method set_connection

src/msg/Message.h:371–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

369 return connection;
370 }
371 void set_connection(ConnectionRef c) {
372#ifdef WITH_CRIMSON
373 // In crimson, conn is independently maintained outside Message.
374 ceph_assert(c == nullptr);
375#endif
376 connection = std::move(c);
377 }
378 CompletionHook* get_completion_hook() { return completion_hook; }
379 void set_completion_hook(CompletionHook *hook) { completion_hook = hook; }
380 void set_byte_throttler(ThrottleInterface *t) {

Callers 11

fio_ceph_msgr_io_u_initFunction · 0.45
send_messageMethod · 0.45
decode_messageFunction · 0.45
send_messageMethod · 0.45
_unregisteredMethod · 0.45
_unregisteredMethod · 0.45
handle_forwardMethod · 0.45

Calls

no outgoing calls

Tested by 5

fio_ceph_msgr_io_u_initFunction · 0.36
send_messageMethod · 0.36