C# 클래스 Raven.Client.DocumentStoreBase

Contains implementation of some IDocumentStore operations shared by DocumentStore implementations
상속: IDocumentStore
파일 보기 프로젝트 열기: robashton/ravendb

보호된 프로퍼티들

프로퍼티 타입 설명
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