다음을 통해 공유


EventHubCacheEvictionStrategy 클래스

정의

EventHubQueueCache에 대한 제거 전략

public class EventHubCacheEvictionStrategy : Orleans.Providers.Streams.Common.ChronologicalEvictionStrategy<Orleans.ServiceBus.Providers.CachedEventHubMessage>
type EventHubCacheEvictionStrategy = class
    inherit ChronologicalEvictionStrategy<CachedEventHubMessage>
Public Class EventHubCacheEvictionStrategy
Inherits ChronologicalEvictionStrategy(Of CachedEventHubMessage)
상속

생성자

EventHubCacheEvictionStrategy(ILogger, TimePurgePredicate, ICacheMonitor, Nullable<TimeSpan>)

생성자

EventHubCacheEvictionStrategy(Logger, TimePurgePredicate, ICacheMonitor, Nullable<TimeSpan>)

생성자

필드

inUseBuffers

테스트 목적으로 보호된 캐시에서 현재 사용 중인 버퍼

(다음에서 상속됨 ChronologicalEvictionStrategy<TCachedMessage>)

속성

OnPurged

캐시의 최신 항목과 캐시 제거가 실행된 후 제거된 마지막 항목으로 호출됩니다. 순서가 지정된 신뢰할 수 있는 큐의 경우 제거되는 모든 이벤트 집합의 마지막 이벤트만 제거된 모든 이벤트에 대해 알릴 필요가 없습니다.

(다음에서 상속됨 ChronologicalEvictionStrategy<TCachedMessage>)
PurgeObservable

IPurgeObservable은 캐시에 의해 구현되어 관련 작업을 제거하며 EvictionStrategy에서 호출됩니다.

(다음에서 상속됨 ChronologicalEvictionStrategy<TCachedMessage>)

메서드

GetBlockId(Nullable<CachedEventHubMessage>)

메시지에 대한 블록 풀 블록 ID 가져오기

GetBlockId(Nullable<TCachedMessage>)

메시지에 대한 블록 풀 블록 ID 가져오기

(다음에서 상속됨 ChronologicalEvictionStrategy<TCachedMessage>)
GetDequeueTimeUtc(CachedEventHubMessage)

메시지 큐에서 제거 시간 가져오기

GetDequeueTimeUtc(TCachedMessage)

메시지 큐에서 제거 시간 가져오기

(다음에서 상속됨 ChronologicalEvictionStrategy<TCachedMessage>)
GetEnqueueTimeUtc(CachedEventHubMessage)

메시지 큐에 넣은 시간 가져오기

GetEnqueueTimeUtc(TCachedMessage)

메시지 큐에 넣은 시간 가져오기

(다음에서 상속됨 ChronologicalEvictionStrategy<TCachedMessage>)
OnBlockAllocated(FixedSizeBuffer)

데이터 어댑터가 새 블록을 할당할 때 호출해야 하는 메서드

(다음에서 상속됨 ChronologicalEvictionStrategy<TCachedMessage>)
PerformPurge(DateTime)

에이전트를 끌어와 캐시에서 제거를 시도할 때 호출해야 하는 메서드

(다음에서 상속됨 ChronologicalEvictionStrategy<TCachedMessage>)

적용 대상