MCPcopy Create free account
hub / github.com/Tencent/phxqueue / QueueSelectorDefault

Method QueueSelectorDefault

phxqueue/producer/selector.cpp:42–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40};
41
42QueueSelectorDefault::QueueSelectorDefault(const int topic_id, const int pub_id, const uint64_t uin, const int count, const bool retry_switch_queue) : impl_(new QueueSelectorDefaultImpl()){
43 assert(impl_);
44 impl_->topic_id = topic_id;
45 impl_->pub_id = pub_id;
46 impl_->uin = uin;
47 impl_->count = count;
48 impl_->retry_switch_queue = retry_switch_queue;
49 impl_->retry = 0;
50}
51
52QueueSelectorDefault::~QueueSelectorDefault() {
53}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected