C# 클래스 Raven.Database.Indexing.BaseBatchSizeAutoTuner

파일 보기 프로젝트 열기: robashton/ravendb 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
context WorkContext

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
BaseBatchSizeAutoTuner ( WorkContext context ) : System
GetLastAmountOfItems ( ) : IEnumerable
RecordAmountOfItems ( int numberOfItems ) : void

비공개 메소드들

메소드 설명
ConsiderDecreasingBatchSize ( int amountOfItemsToIndex, System.TimeSpan indexingDuration ) : bool
ConsiderIncreasingBatchSize ( int amountOfItemsToIndex, long size, System.TimeSpan indexingDuration ) : bool
ReduceBatchSizeIfCloseToMemoryCeiling ( ) : bool

메소드 상세

AutoThrottleBatchSize() 공개 메소드

public AutoThrottleBatchSize ( int amountOfItemsToIndex, long size, System.TimeSpan indexingDuration ) : void
amountOfItemsToIndex int
size long
indexingDuration System.TimeSpan
리턴 void

BaseBatchSizeAutoTuner() 보호된 메소드

protected BaseBatchSizeAutoTuner ( WorkContext context ) : System
context WorkContext
리턴 System

GetLastAmountOfItems() 보호된 추상적인 메소드

protected abstract GetLastAmountOfItems ( ) : IEnumerable
리턴 IEnumerable

OutOfMemoryExceptionHappened() 공개 메소드

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.
public OutOfMemoryExceptionHappened ( ) : void
리턴 void

RecordAmountOfItems() 보호된 추상적인 메소드

protected abstract RecordAmountOfItems ( int numberOfItems ) : void
numberOfItems int
리턴 void

프로퍼티 상세

context 보호되어 있는 프로퍼티

protected WorkContext,Raven.Database.Indexing context
리턴 WorkContext