C# Класс Raven.Client.DocumentStoreBase

Contains implementation of some IDocumentStore operations shared by DocumentStore implementations
Наследование: IDocumentStore
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
initialized bool
listeners Raven.Client.Document.DocumentSessionListeners
profilingContext Raven.Client.Connection.Profiling.ProfilingContext

Открытые методы

Метод Описание
AggressivelyCache ( ) : IDisposable

Setup the context for aggressive caching.

AggressivelyCacheFor ( System.TimeSpan cacheDuration ) : IDisposable

Subscribe to change notifications from the server

BulkInsert ( string database = null, Raven.Abstractions.Data.BulkInsertOptions options = null ) : Raven.Client.Document.BulkInsertOperation
Changes ( string database = null ) : IDatabaseChanges
DisableAggressiveCaching ( ) : IDisposable
Dispose ( ) : void
ExecuteIndex ( Raven.Client.Indexes.AbstractIndexCreationTask indexCreationTask ) : void

Executes the index creation.

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

GetProfilingInformationFor ( System.Guid id ) : ProfilingInformation

Get the profiling information for the given id

Initialize ( ) : IDocumentStore
OpenAsyncSession ( ) : IAsyncDocumentSession
OpenAsyncSession ( string database ) : IAsyncDocumentSession
OpenSession ( ) : IDocumentSession
OpenSession ( Raven.Client.Document.OpenSessionOptions sessionOptions ) : IDocumentSession
OpenSession ( string database ) : IDocumentSession
RegisterListener ( IDocumentConflictListener conflictListener ) : DocumentStoreBase

Registers the conflict listener.

RegisterListener ( IDocumentConversionListener conversionListener ) : DocumentStoreBase

Registers the conversion listener.

RegisterListener ( IDocumentDeleteListener deleteListener ) : DocumentStoreBase

Registers the delete listener.

RegisterListener ( IDocumentQueryListener queryListener ) : DocumentStoreBase

Registers the query listener.

RegisterListener ( IExtendedDocumentConversionListener conversionListener ) : DocumentStoreBase

Registers the extended conversion listener.

RegisterListener ( IDocumentStoreListener documentStoreListener ) : IDocumentStore

Registers the store listener.

Защищенные методы

Метод Описание
AfterSessionCreated ( InMemoryDocumentSessionOperations session ) : void
AssertInitialized ( ) : void
DocumentStoreBase ( ) : System
EnsureNotClosed ( ) : void

Описание методов

AfterSessionCreated() защищенный Метод

protected AfterSessionCreated ( InMemoryDocumentSessionOperations session ) : void
session InMemoryDocumentSessionOperations
Результат void

AggressivelyCache() публичный Метод

Setup the context for aggressive caching.
public AggressivelyCache ( ) : IDisposable
Результат IDisposable

AggressivelyCacheFor() публичный абстрактный Метод

Subscribe to change notifications from the server
public abstract AggressivelyCacheFor ( System.TimeSpan cacheDuration ) : IDisposable
cacheDuration System.TimeSpan
Результат IDisposable

AssertInitialized() защищенный Метод

protected AssertInitialized ( ) : void
Результат void

BulkInsert() публичный абстрактный Метод

public abstract BulkInsert ( string database = null, Raven.Abstractions.Data.BulkInsertOptions options = null ) : Raven.Client.Document.BulkInsertOperation
database string
options Raven.Abstractions.Data.BulkInsertOptions
Результат Raven.Client.Document.BulkInsertOperation

Changes() публичный абстрактный Метод

public abstract Changes ( string database = null ) : IDatabaseChanges
database string
Результат IDatabaseChanges

DisableAggressiveCaching() публичный абстрактный Метод

public abstract DisableAggressiveCaching ( ) : IDisposable
Результат IDisposable

Dispose() публичный абстрактный Метод

public abstract Dispose ( ) : void
Результат void

DocumentStoreBase() защищенный Метод

protected DocumentStoreBase ( ) : System
Результат System

EnsureNotClosed() защищенный Метод

protected EnsureNotClosed ( ) : void
Результат void

ExecuteIndex() публичный Метод

Executes the index creation.
public ExecuteIndex ( Raven.Client.Indexes.AbstractIndexCreationTask indexCreationTask ) : void
indexCreationTask Raven.Client.Indexes.AbstractIndexCreationTask
Результат void

ExecuteTransformer() публичный Метод

Executes the transformer creation
public ExecuteTransformer ( AbstractTransformerCreationTask transformerCreationTask ) : void
transformerCreationTask Raven.Client.Indexes.AbstractTransformerCreationTask
Результат void

GetLastWrittenEtag() публичный Метод

Gets the etag of the last document written by any session belonging to this document store
public GetLastWrittenEtag ( ) : Etag
Результат Etag

GetProfilingInformationFor() публичный Метод

Get the profiling information for the given id
public GetProfilingInformationFor ( System.Guid id ) : ProfilingInformation
id System.Guid
Результат Raven.Client.Connection.Profiling.ProfilingInformation

Initialize() публичный абстрактный Метод

public abstract Initialize ( ) : IDocumentStore
Результат IDocumentStore

OpenAsyncSession() публичный абстрактный Метод

public abstract OpenAsyncSession ( ) : IAsyncDocumentSession
Результат IAsyncDocumentSession

OpenAsyncSession() публичный абстрактный Метод

public abstract OpenAsyncSession ( string database ) : IAsyncDocumentSession
database string
Результат IAsyncDocumentSession

OpenSession() публичный абстрактный Метод

public abstract OpenSession ( ) : IDocumentSession
Результат IDocumentSession

OpenSession() публичный абстрактный Метод

public abstract OpenSession ( Raven.Client.Document.OpenSessionOptions sessionOptions ) : IDocumentSession
sessionOptions Raven.Client.Document.OpenSessionOptions
Результат IDocumentSession

OpenSession() публичный абстрактный Метод

public abstract OpenSession ( string database ) : IDocumentSession
database string
Результат IDocumentSession

RegisterListener() публичный Метод

Registers the conflict listener.
public RegisterListener ( IDocumentConflictListener conflictListener ) : DocumentStoreBase
conflictListener IDocumentConflictListener The conflict listener.
Результат DocumentStoreBase

RegisterListener() публичный Метод

Registers the conversion listener.
public RegisterListener ( IDocumentConversionListener conversionListener ) : DocumentStoreBase
conversionListener IDocumentConversionListener
Результат DocumentStoreBase

RegisterListener() публичный Метод

Registers the delete listener.
public RegisterListener ( IDocumentDeleteListener deleteListener ) : DocumentStoreBase
deleteListener IDocumentDeleteListener The delete listener.
Результат DocumentStoreBase

RegisterListener() публичный Метод

Registers the query listener.
public RegisterListener ( IDocumentQueryListener queryListener ) : DocumentStoreBase
queryListener IDocumentQueryListener The query listener.
Результат DocumentStoreBase

RegisterListener() публичный Метод

Registers the extended conversion listener.
public RegisterListener ( IExtendedDocumentConversionListener conversionListener ) : DocumentStoreBase
conversionListener IExtendedDocumentConversionListener
Результат DocumentStoreBase

RegisterListener() публичный Метод

Registers the store listener.
public RegisterListener ( IDocumentStoreListener documentStoreListener ) : IDocumentStore
documentStoreListener IDocumentStoreListener The document store listener.
Результат IDocumentStore

Описание свойств

initialized защищенное свойство

protected bool initialized
Результат bool

listeners защищенное свойство

protected DocumentSessionListeners,Raven.Client.Document listeners
Результат Raven.Client.Document.DocumentSessionListeners

profilingContext защищенное свойство

protected ProfilingContext,Raven.Client.Connection.Profiling profilingContext
Результат Raven.Client.Connection.Profiling.ProfilingContext