Method | Description | |
---|---|---|
Add ( MongoCollection collection, string indexName ) : void |
Adds the name of an index to the cache.
|
|
Contains ( MongoCollection collection, string indexName ) : bool |
Tests whether the cache contains the name of an index.
|
|
IndexCache ( ) : System.Collections.Generic |
Initializes a new instance of the IndexCache class.
|
|
Remove ( MongoCollection collection, string indexName ) : void |
Removes the name of an index from the cache.
|
|
Reset ( ) : void |
Resets the cache.
|
|
Reset ( MongoCollection collection ) : void |
Resets part of the cache by removing all indexes for a collection.
|
|
Reset ( MongoDatabase database ) : void |
Resets part of the cache by removing all indexes for a database.
|
|
Reset ( string databaseName ) : void |
Resets part of the cache by removing all indexes for a database.
|
|
Reset ( string databaseName, string collectionName ) : void |
Resets part of the cache by removing all indexes for a collection.
|
public Add ( MongoCollection collection, string indexName ) : void | ||
collection | MongoCollection | The collection that contains the index. |
indexName | string | The name of the index. |
return | void |
public Contains ( MongoCollection collection, string indexName ) : bool | ||
collection | MongoCollection | The collection that contains the index. |
indexName | string | The name of the index. |
return | bool |
public IndexCache ( ) : System.Collections.Generic | ||
return | System.Collections.Generic |
public Remove ( MongoCollection collection, string indexName ) : void | ||
collection | MongoCollection | The collection that contains the index. |
indexName | string | The name of the index. |
return | void |
public Reset ( MongoCollection collection ) : void | ||
collection | MongoCollection | The collection. |
return | void |
public Reset ( MongoDatabase database ) : void | ||
database | MongoDatabase | The database. |
return | void |
public Reset ( string databaseName ) : void | ||
databaseName | string | The name of the database. |
return | void |
public Reset ( string databaseName, string collectionName ) : void | ||
databaseName | string | The name of the database containing the collection. |
collectionName | string | The name of the collection. |
return | void |