C# Class NuGet.Services.Metadata.Catalog.StoreCollector

Inheritance: CommitCollector
Mostra file Open project: NuGet/NuGet.Services.Metadata

Public Methods

Method Description
StoreCollector ( Uri index, Uri types, Func handlerFunc = null ) : Newtonsoft.Json.Linq

Protected Methods

Method Description
OnProcessBatch ( CollectorHttpClient client, IEnumerable items, JToken context, System.DateTime commitTimeStamp, bool isLastBatch, CancellationToken cancellationToken ) : Task
ProcessStore ( VDS.RDF.TripleStore store, CancellationToken cancellationToken ) : Task

Method Details

OnProcessBatch() protected method

protected OnProcessBatch ( CollectorHttpClient client, IEnumerable items, JToken context, System.DateTime commitTimeStamp, bool isLastBatch, CancellationToken cancellationToken ) : Task
client CollectorHttpClient
items IEnumerable
context JToken
commitTimeStamp System.DateTime
isLastBatch bool
cancellationToken System.Threading.CancellationToken
return Task

ProcessStore() protected abstract method

protected abstract ProcessStore ( VDS.RDF.TripleStore store, CancellationToken cancellationToken ) : Task
store VDS.RDF.TripleStore
cancellationToken System.Threading.CancellationToken
return Task

StoreCollector() public method

public StoreCollector ( Uri index, Uri types, Func handlerFunc = null ) : Newtonsoft.Json.Linq
index System.Uri
types System.Uri
handlerFunc Func
return Newtonsoft.Json.Linq