C# Class Raven.Storage.Managed.IndexingStorageActions

Inheritance: IIndexingStorageActions
显示文件 Open project: robashton/ravendb Class Usage Examples

Public Methods

Method Description
AddIndex ( string name, bool createMapReduce ) : void
DeleteIndex ( string name ) : void
Dispose ( ) : void
GetCountOfDocumentsReferencing ( string key ) : int
GetDocumentsReferencesFrom ( string key ) : IEnumerable
GetDocumentsReferencing ( string key ) : IEnumerable
GetFailureRate ( string index ) : Raven.Abstractions.Data.IndexFailureInformation
GetIndexStats ( string index ) : Raven.Abstractions.Data.IndexStats
GetIndexesStats ( ) : IEnumerable
IndexingStorageActions ( TableStorage storage ) : System
RemoveAllDocumentReferencesFrom ( string key ) : void
SetIndexPriority ( string index, IndexingPriority priority ) : void
TouchIndexEtag ( string index ) : void
UpdateDocumentReferences ( string view, string key, HashSet references ) : void
UpdateIndexingStats ( string index, Raven.Database.Indexing.IndexingWorkStats stats ) : void
UpdateLastIndexed ( string index, Etag etag, System.DateTime timestamp ) : void
UpdateLastReduced ( string index, Etag etag, System.DateTime timestamp ) : void
UpdateReduceStats ( string index, Raven.Database.Indexing.IndexingWorkStats stats ) : void

Private Methods

Method Description
GetCurrentIndex ( string index ) : RavenJObject
GetIndexStats ( Table indexingStatsResult, Table lastIndexedEtagsResult ) : Raven.Abstractions.Data.IndexStats

Method Details

AddIndex() public method

public AddIndex ( string name, bool createMapReduce ) : void
name string
createMapReduce bool
return void

DeleteIndex() public method

public DeleteIndex ( string name ) : void
name string
return void

Dispose() public method

public Dispose ( ) : void
return void

GetCountOfDocumentsReferencing() public method

public GetCountOfDocumentsReferencing ( string key ) : int
key string
return int

GetDocumentsReferencesFrom() public method

public GetDocumentsReferencesFrom ( string key ) : IEnumerable
key string
return IEnumerable

GetDocumentsReferencing() public method

public GetDocumentsReferencing ( string key ) : IEnumerable
key string
return IEnumerable

GetFailureRate() public method

public GetFailureRate ( string index ) : Raven.Abstractions.Data.IndexFailureInformation
index string
return Raven.Abstractions.Data.IndexFailureInformation

GetIndexStats() public method

public GetIndexStats ( string index ) : Raven.Abstractions.Data.IndexStats
index string
return Raven.Abstractions.Data.IndexStats

GetIndexesStats() public method

public GetIndexesStats ( ) : IEnumerable
return IEnumerable

IndexingStorageActions() public method

public IndexingStorageActions ( TableStorage storage ) : System
storage Raven.Storage.Managed.Impl.TableStorage
return System

RemoveAllDocumentReferencesFrom() public method

public RemoveAllDocumentReferencesFrom ( string key ) : void
key string
return void

SetIndexPriority() public method

public SetIndexPriority ( string index, IndexingPriority priority ) : void
index string
priority IndexingPriority
return void

TouchIndexEtag() public method

public TouchIndexEtag ( string index ) : void
index string
return void

UpdateDocumentReferences() public method

public UpdateDocumentReferences ( string view, string key, HashSet references ) : void
view string
key string
references HashSet
return void

UpdateIndexingStats() public method

public UpdateIndexingStats ( string index, Raven.Database.Indexing.IndexingWorkStats stats ) : void
index string
stats Raven.Database.Indexing.IndexingWorkStats
return void

UpdateLastIndexed() public method

public UpdateLastIndexed ( string index, Etag etag, System.DateTime timestamp ) : void
index string
etag Etag
timestamp System.DateTime
return void

UpdateLastReduced() public method

public UpdateLastReduced ( string index, Etag etag, System.DateTime timestamp ) : void
index string
etag Etag
timestamp System.DateTime
return void

UpdateReduceStats() public method

public UpdateReduceStats ( string index, Raven.Database.Indexing.IndexingWorkStats stats ) : void
index string
stats Raven.Database.Indexing.IndexingWorkStats
return void