summaryrefslogtreecommitdiff
path: root/src/mongo/client/fetcher.h
diff options
context:
space:
mode:
authorScott Hernandez <scotthernandez@gmail.com>2015-06-24 11:33:27 -0400
committerScott Hernandez <scotthernandez@gmail.com>2015-06-25 10:22:28 -0400
commit61ed2e026f2c3482c7e9654410dc790396929a83 (patch)
tree4f15b2afaf31d996a6b5ef581d57ac16f0a7cf53 /src/mongo/client/fetcher.h
parent9db15b95cdb16385edfefbca0c4468e8aa9ec84f (diff)
downloadmongo-61ed2e026f2c3482c7e9654410dc790396929a83.tar.gz
SERVER-18042: add killCursors support to Fetcher
Diffstat (limited to 'src/mongo/client/fetcher.h')
-rw-r--r--src/mongo/client/fetcher.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mongo/client/fetcher.h b/src/mongo/client/fetcher.h
index fff128b5aca..99748941ca2 100644
--- a/src/mongo/client/fetcher.h
+++ b/src/mongo/client/fetcher.h
@@ -167,6 +167,13 @@ private:
*/
void _finishCallback();
+ /**
+ * Sends a kill cursor for the specified id and collection (namespace)
+ *
+ * Note: Errors are ignored and no retry is done
+ */
+ void _sendKillCursors(const CursorId id, const NamespaceString& nss);
+
// Not owned by us.
executor::TaskExecutor* _executor;