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

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

Public Methods

Method Description
CollectorBase ( Uri index, Func handlerFunc = null ) : System
Run ( CancellationToken cancellationToken ) : Task
Run ( System.DateTime front, System.DateTime back, CancellationToken cancellationToken ) : Task
Run ( NuGet.Services.Metadata.Catalog.ReadWriteCursor front, NuGet.Services.Metadata.Catalog.ReadCursor back, CancellationToken cancellationToken ) : Task

Protected Methods

Method Description
Fetch ( CollectorHttpClient client, NuGet.Services.Metadata.Catalog.ReadWriteCursor front, NuGet.Services.Metadata.Catalog.ReadCursor back, CancellationToken cancellationToken ) : Task

Method Details

CollectorBase() public method

public CollectorBase ( Uri index, Func handlerFunc = null ) : System
index System.Uri
handlerFunc Func
return System

Fetch() protected abstract method

protected abstract Fetch ( CollectorHttpClient client, NuGet.Services.Metadata.Catalog.ReadWriteCursor front, NuGet.Services.Metadata.Catalog.ReadCursor back, CancellationToken cancellationToken ) : Task
client CollectorHttpClient
front NuGet.Services.Metadata.Catalog.ReadWriteCursor
back NuGet.Services.Metadata.Catalog.ReadCursor
cancellationToken System.Threading.CancellationToken
return Task

Run() public method

public Run ( CancellationToken cancellationToken ) : Task
cancellationToken System.Threading.CancellationToken
return Task

Run() public method

public Run ( System.DateTime front, System.DateTime back, CancellationToken cancellationToken ) : Task
front System.DateTime
back System.DateTime
cancellationToken System.Threading.CancellationToken
return Task

Run() public method

public Run ( NuGet.Services.Metadata.Catalog.ReadWriteCursor front, NuGet.Services.Metadata.Catalog.ReadCursor back, CancellationToken cancellationToken ) : Task
front NuGet.Services.Metadata.Catalog.ReadWriteCursor
back NuGet.Services.Metadata.Catalog.ReadCursor
cancellationToken System.Threading.CancellationToken
return Task