Свойство | Type | Description | |
---|---|---|---|
context |
Méthode | Description | |
---|---|---|
AutoThrottleBatchSize ( int amountOfItemsToIndex, long size, System.TimeSpan indexingDuration ) : void | ||
OutOfMemoryExceptionHappened ( ) : void |
This let us know that an OOME has happened, and we need to be much more conservative with regards to how fast we can grow memory.
|
Méthode | Description | |
---|---|---|
BaseBatchSizeAutoTuner ( |
||
GetLastAmountOfItems ( ) : IEnumerable |
||
RecordAmountOfItems ( int numberOfItems ) : void |
Méthode | Description | |
---|---|---|
ConsiderDecreasingBatchSize ( int amountOfItemsToIndex, System.TimeSpan indexingDuration ) : bool | ||
ConsiderIncreasingBatchSize ( int amountOfItemsToIndex, long size, System.TimeSpan indexingDuration ) : bool | ||
ReduceBatchSizeIfCloseToMemoryCeiling ( ) : bool |
public AutoThrottleBatchSize ( int amountOfItemsToIndex, long size, System.TimeSpan indexingDuration ) : void | ||
amountOfItemsToIndex | int | |
size | long | |
indexingDuration | System.TimeSpan | |
Résultat | void |
protected BaseBatchSizeAutoTuner ( |
||
context | ||
Résultat | System |
protected abstract GetLastAmountOfItems ( ) : IEnumerable |
||
Résultat | IEnumerable |
public OutOfMemoryExceptionHappened ( ) : void | ||
Résultat | void |
protected abstract RecordAmountOfItems ( int numberOfItems ) : void | ||
numberOfItems | int | |
Résultat | void |