diff options
author | Jason Rassi <rassi@10gen.com> | 2015-08-11 16:26:42 -0400 |
---|---|---|
committer | Jason Rassi <rassi@10gen.com> | 2015-08-12 13:03:51 -0400 |
commit | 00b599b5fbc3a75be4b39a01d96ca21ca3a6cb6a (patch) | |
tree | ba531d4f67a26bae0751dc45839a3993f215d119 /src/mongo/s/grid.h | |
parent | 1dfe6870c5974b199a0155c634b470fcb1369f21 (diff) | |
download | mongo-00b599b5fbc3a75be4b39a01d96ca21ca3a6cb6a.tar.gz |
SERVER-18774 ClusterCursorManager support for killing expired cursors
Diffstat (limited to 'src/mongo/s/grid.h')
-rw-r--r-- | src/mongo/s/grid.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mongo/s/grid.h b/src/mongo/s/grid.h index 430ac7a29f6..77b5ce57b9f 100644 --- a/src/mongo/s/grid.h +++ b/src/mongo/s/grid.h @@ -56,15 +56,15 @@ public: Grid(); /** - * Called at startup time so the global sharding services (catalog manager, shard registry) - * can be set. This method must be called once and once only for the lifetime of the - * service. + * Called at startup time so the global sharding services can be set. This method must be called + * once and once only for the lifetime of the service. * * NOTE: Unit-tests are allowed to call it more than once, provided they reset the object's * state using clearForUnitTests. */ void init(std::unique_ptr<CatalogManager> catalogManager, - std::unique_ptr<ShardRegistry> shardRegistry); + std::unique_ptr<ShardRegistry> shardRegistry, + std::unique_ptr<ClusterCursorManager> cursorManager); /** * Implicitly creates the specified database as non-sharded. |