summaryrefslogtreecommitdiff
path: root/s/strategy.h
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2009-02-23 17:43:55 -0500
committerEliot Horowitz <eliot@10gen.com>2009-02-23 17:43:55 -0500
commit9b3b8d33e147b17425afc6ceba563db7b9169cef (patch)
tree73e81fae205e29cf71f2a36def1c0978249d77fd /s/strategy.h
parent3c09f99293eb8f4fa1824e301b3352348626312a (diff)
downloadmongo-9b3b8d33e147b17425afc6ceba563db7b9169cef.tar.gz
sharding checkpoint and copy and paste error
Diffstat (limited to 's/strategy.h')
-rw-r--r--s/strategy.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/s/strategy.h b/s/strategy.h
index 54c9627f4f4..de37cfa55b7 100644
--- a/s/strategy.h
+++ b/s/strategy.h
@@ -19,6 +19,17 @@ namespace mongo {
void insert( string server , const char * ns , const BSONObj& obj );
};
+
+ class ShardedCursor {
+ public:
+ ShardedCursor(){}
+ virtual ~ShardedCursor(){}
+
+ virtual void sendNextBatch( Request& r ) = 0;
+
+ private:
+ long long _id;
+ };
extern Strategy * SINGLE;
extern Strategy * SHARDED;