Method | Description | |
---|---|---|
AggressivelyCacheFor ( System.TimeSpan cacheDuration ) : IDisposable |
Setup the context for aggressive caching. aggressive caching means that we will not check the server to see whatever the response we provide is current or not, but will serve the information directly from the local cache without touching the server. |
|
AsyncDatabaseCommandsFor ( string shardId ) : IAsyncDatabaseCommands | ||
BulkInsert ( string database = null, BulkInsertOptions options = null ) : Raven.Client.Document.BulkInsertOperation | ||
Changes ( string database = null ) : IDatabaseChanges | ||
DatabaseCommandsFor ( string shardId ) : IDatabaseCommands | ||
DisableAggressiveCaching ( ) : IDisposable |
Setup the context for no aggressive caching This is mainly useful for internal use inside RavenDB, when we are executing queries that has been marked with WaitForNonStaleResults, we temporarily disable aggressive caching. |
|
Dispose ( ) : void |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
|
|
ExecuteIndex ( AbstractIndexCreationTask indexCreationTask ) : void |
Executes the index creation against each of the shards.
|
|
ExecuteTransformer ( AbstractTransformerCreationTask transformerCreationTask ) : void |
Executes the transformer creation
|
|
GetLastWrittenEtag ( ) : Etag |
Gets the etag of the last document written by any session belonging to this document store
|
|
Initialize ( ) : IDocumentStore |
Initializes this instance.
|
|
OpenAsyncSession ( ) : IAsyncDocumentSession |
Opens the async session.
|
|
OpenAsyncSession ( string databaseName ) : IAsyncDocumentSession |
Opens the async session.
|
|
OpenSession ( ) : IDocumentSession |
Opens the session.
|
|
OpenSession ( Raven.Client.Document.OpenSessionOptions sessionOptions ) : IDocumentSession |
Opens the session with the specified options.
|
|
OpenSession ( string database ) : IDocumentSession |
Opens the session for a particular database
|
|
ShardedDocumentStore ( Raven.Client.Shard.ShardStrategy.ShardStrategy shardStrategy ) : System |
Initializes a new instance of the ShardedDocumentStore class.
|
Method | Description | |
---|---|---|
OpenAsyncSessionInternal ( string dbName, IAsyncDatabaseCommands>.Dictionary |
||
OpenSessionInternal ( string database, IDatabaseCommands>.Dictionary |
public AggressivelyCacheFor ( System.TimeSpan cacheDuration ) : IDisposable | ||
cacheDuration | System.TimeSpan | Specify the aggressive cache duration |
return | IDisposable |
public AsyncDatabaseCommandsFor ( string shardId ) : IAsyncDatabaseCommands | ||
shardId | string | |
return | IAsyncDatabaseCommands |
public BulkInsert ( string database = null, BulkInsertOptions options = null ) : Raven.Client.Document.BulkInsertOperation | ||
database | string | |
options | BulkInsertOptions | |
return | Raven.Client.Document.BulkInsertOperation |
public Changes ( string database = null ) : IDatabaseChanges | ||
database | string | |
return | IDatabaseChanges |
public DatabaseCommandsFor ( string shardId ) : IDatabaseCommands | ||
shardId | string | |
return | IDatabaseCommands |
public DisableAggressiveCaching ( ) : IDisposable | ||
return | IDisposable |
public ExecuteIndex ( AbstractIndexCreationTask indexCreationTask ) : void | ||
indexCreationTask | AbstractIndexCreationTask | |
return | void |
public ExecuteTransformer ( AbstractTransformerCreationTask transformerCreationTask ) : void | ||
transformerCreationTask | AbstractTransformerCreationTask | |
return | void |
public OpenAsyncSession ( ) : IAsyncDocumentSession | ||
return | IAsyncDocumentSession |
public OpenAsyncSession ( string databaseName ) : IAsyncDocumentSession | ||
databaseName | string | |
return | IAsyncDocumentSession |
public OpenSession ( Raven.Client.Document.OpenSessionOptions sessionOptions ) : IDocumentSession | ||
sessionOptions | Raven.Client.Document.OpenSessionOptions | |
return | IDocumentSession |
public OpenSession ( string database ) : IDocumentSession | ||
database | string | |
return | IDocumentSession |
public ShardedDocumentStore ( Raven.Client.Shard.ShardStrategy.ShardStrategy shardStrategy ) : System | ||
shardStrategy | Raven.Client.Shard.ShardStrategy.ShardStrategy | The shard strategy. |
return | System |