public class IopsController extends Object
| Constructor and Description |
|---|
IopsController(IopsCalculator iopsCalculator,
double averageItemSizeInBytes,
DynamoDBOperationType operationType) |
| Modifier and Type | Method and Description |
|---|---|
static double |
calculateTargetItemsPerSecond(DynamoDBOperationType operationType,
double targetIops,
double itemsPerIO) |
long |
getTargetItemsPerSecond() |
void |
update(long itemsPerSecond,
double iopsConsumed) |
public IopsController(IopsCalculator iopsCalculator, double averageItemSizeInBytes, DynamoDBOperationType operationType)
public static double calculateTargetItemsPerSecond(DynamoDBOperationType operationType, double targetIops, double itemsPerIO)
public long getTargetItemsPerSecond()
public void update(long itemsPerSecond,
double iopsConsumed)
Copyright © 2019. All rights reserved.