void RequestProcessor::dump_key(const tair_dataentry_set &keyset, const char *msg) { if (msg == NULL) { msg = "error"; } tair_dataentry_set::const_iterator it = keyset.begin(); while (it != keyset.end()) { dump_key(**it, msg); ++it; } }
request_prefix_removes(const tair_dataentry_set &mkey_set, const int area) { setPCode(TAIR_REQ_PREFIX_REMOVES_PACKET); tair_dataentry_set::const_iterator itr = mkey_set.begin(); while (itr != mkey_set.end()) { this->add_key(*itr, true); ++itr; } this->area = area; packet_id = 0; }