| 2407 | } |
| 2408 | |
| 2409 | bool CouchbaseOperations::beginPipeline() { |
| 2410 | if (pipeline_active) { |
| 2411 | DEBUG_PRINT("Pipeline already active. Call clearPipeline() first."); |
| 2412 | return false; |
| 2413 | } |
| 2414 | |
| 2415 | // Clear any previous state |
| 2416 | while (!pipeline_operations_queue.empty()) { |
| 2417 | pipeline_operations_queue.pop(); |
| 2418 | } |
| 2419 | pipeline_request_couchbase_req.Clear(); |
| 2420 | |
| 2421 | pipeline_active = true; |
| 2422 | return true; |
| 2423 | } |
| 2424 | |
| 2425 | bool CouchbaseOperations::pipelineRequest(operation_type op_type, |
| 2426 | const std::string& key, |
no test coverage detected