C# Class DynamoDbAutoscaler.Provisioners.Provisioner

Afficher le fichier Open project: litmus/DynamoDbAutoscaler

Protected Properties

Свойство Type Description
StructuredLogger ILogger
ThroughputClient IDynamoDbTableThroughputClient

Méthodes publiques

Méthode Description
ProvisionAsync ( IAutoscalingConfigurationSet configuration, DynamoDbThroughput current, DynamoDbThroughput updated, CancellationToken cancellationToken = default(CancellationToken) ) : Task
UpdateProvisionAsync ( IAutoscalingConfigurationSet configuration, DynamoDbThroughput current, CancellationToken cancellationToken = default(CancellationToken) ) : Task

Méthodes protégées

Méthode Description
Provisioner ( IDynamoDbTableThroughputClient throughputClient, ILogger structuredLogger ) : System

Private Methods

Méthode Description
ShouldUpdate ( string entityName, string type, long provisioned, long updated, bool enabled, bool demoMode, System.DateTime increasedAt, System.DateTime decreaseAt, System.TimeSpan increaseInterval, System.TimeSpan decreaseInterval ) : bool

Method Details

ProvisionAsync() public méthode

public ProvisionAsync ( IAutoscalingConfigurationSet configuration, DynamoDbThroughput current, DynamoDbThroughput updated, CancellationToken cancellationToken = default(CancellationToken) ) : Task
configuration IAutoscalingConfigurationSet
current DynamoDbAutoscaler.DynamoDbThroughput
updated DynamoDbAutoscaler.DynamoDbThroughput
cancellationToken System.Threading.CancellationToken
Résultat Task

Provisioner() protected méthode

protected Provisioner ( IDynamoDbTableThroughputClient throughputClient, ILogger structuredLogger ) : System
throughputClient IDynamoDbTableThroughputClient
structuredLogger ILogger
Résultat System

UpdateProvisionAsync() public abstract méthode

public abstract UpdateProvisionAsync ( IAutoscalingConfigurationSet configuration, DynamoDbThroughput current, CancellationToken cancellationToken = default(CancellationToken) ) : Task
configuration IAutoscalingConfigurationSet
current DynamoDbAutoscaler.DynamoDbThroughput
cancellationToken System.Threading.CancellationToken
Résultat Task

Property Details

StructuredLogger protected_oe property

protected ILogger StructuredLogger
Résultat ILogger

ThroughputClient protected_oe property

protected IDynamoDbTableThroughputClient ThroughputClient
Résultat IDynamoDbTableThroughputClient