C# Class Foundatio.Repositories.Elasticsearch.Configuration.VersionedIndex

Inheritance: IndexBase, IMaintainableIndex
Afficher le fichier Open project: exceptionless/Foundatio.Repositories

Méthodes publiques

Méthode Description
ConfigureAsync ( ) : System.Threading.Tasks.Task
ConfigureDescriptor ( Nest.CreateIndexDescriptor idx ) : Nest.CreateIndexDescriptor
CreateReindexWorkItem ( int currentVersion ) : ReindexWorkItem
DeleteAsync ( ) : System.Threading.Tasks.Task
GetCurrentVersionAsync ( ) : Task

Returns the current index version (E.G., the oldest index version).

MaintainAsync ( bool includeOptionalTasks = true ) : System.Threading.Tasks.Task
ReindexAsync ( Func progressCallbackAsync = null ) : System.Threading.Tasks.Task
VersionedIndex ( IElasticConfiguration configuration, string name, int version = 1 ) : System

Méthodes protégées

Méthode Description
AliasExistsAsync ( string alias ) : Task
CreateAliasAsync ( string index, string name ) : System.Threading.Tasks.Task
GetIndexDate ( string name ) : System.DateTime
GetIndexVersion ( string name ) : int
GetIndexesAsync ( int version = -1 ) : Task>
GetVersionFromAliasAsync ( string alias ) : Task

Method Details

AliasExistsAsync() protected méthode

protected AliasExistsAsync ( string alias ) : Task
alias string
Résultat Task

ConfigureAsync() public méthode

public ConfigureAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

ConfigureDescriptor() public méthode

public ConfigureDescriptor ( Nest.CreateIndexDescriptor idx ) : Nest.CreateIndexDescriptor
idx Nest.CreateIndexDescriptor
Résultat Nest.CreateIndexDescriptor

CreateAliasAsync() protected méthode

protected CreateAliasAsync ( string index, string name ) : System.Threading.Tasks.Task
index string
name string
Résultat System.Threading.Tasks.Task

CreateReindexWorkItem() public méthode

public CreateReindexWorkItem ( int currentVersion ) : ReindexWorkItem
currentVersion int
Résultat Foundatio.Repositories.Elasticsearch.Jobs.ReindexWorkItem

DeleteAsync() public méthode

public DeleteAsync ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

GetCurrentVersionAsync() public méthode

Returns the current index version (E.G., the oldest index version).
public GetCurrentVersionAsync ( ) : Task
Résultat Task

GetIndexDate() protected méthode

protected GetIndexDate ( string name ) : System.DateTime
name string
Résultat System.DateTime

GetIndexVersion() protected méthode

protected GetIndexVersion ( string name ) : int
name string
Résultat int

GetIndexesAsync() protected méthode

protected GetIndexesAsync ( int version = -1 ) : Task>
version int
Résultat Task>

GetVersionFromAliasAsync() protected méthode

protected GetVersionFromAliasAsync ( string alias ) : Task
alias string
Résultat Task

MaintainAsync() public méthode

public MaintainAsync ( bool includeOptionalTasks = true ) : System.Threading.Tasks.Task
includeOptionalTasks bool
Résultat System.Threading.Tasks.Task

ReindexAsync() public méthode

public ReindexAsync ( Func progressCallbackAsync = null ) : System.Threading.Tasks.Task
progressCallbackAsync Func
Résultat System.Threading.Tasks.Task

VersionedIndex() public méthode

public VersionedIndex ( IElasticConfiguration configuration, string name, int version = 1 ) : System
configuration IElasticConfiguration
name string
version int
Résultat System