다음을 통해 공유


GrainTypeSharedContext 클래스

정의

조직 유형의 모든 인스턴스 간에 공유되는 기능입니다.

public class GrainTypeSharedContext
type GrainTypeSharedContext = class
Public Class GrainTypeSharedContext
상속
GrainTypeSharedContext

생성자

GrainTypeSharedContext(GrainType, IClusterManifestProvider, GrainClassMap, PlacementStrategyResolver, IOptions<SiloMessagingOptions>, IOptions<GrainCollectionOptions>, IOptions<SchedulingOptions>, IGrainRuntime, ILogger, GrainReferenceActivator, IServiceProvider, SerializerSessionPool)

조직 유형의 모든 인스턴스 간에 공유되는 기능입니다.

속성

CollectionAgeLimit

유휴 조직이 수집에 적합한 기간을 가져옵니다.

GrainReferenceActivator

조직 참조 활성화자를 가져옵니다.

GrainTypeName

사용 가능한 경우 조직 instance 형식 이름을 가져옵니다.

Logger

로거를 가져옵니다.

MaxRequestProcessingTime

요청이 중단된 것으로 간주되기 전에 처리를 계속할 것으로 예상되는 최대 시간을 가져옵니다.

MaxWarningRequestProcessingTime

경고가 기록되기 전에 요청이 계속 처리될 것으로 예상되는 최대 시간을 가져옵니다.

MessagingOptions

사일로 메시징 옵션을 가져옵니다.

PlacementStrategy

이 형식의 조직에서 사용하는 배치 전략을 가져옵니다.

Runtime

조직 런타임을 가져옵니다.

SchedulingOptions

예약 옵션을 가져옵니다.

SerializerSessionPool

serializer 세션 풀을 가져옵니다.

메서드

GetComponent<TComponent>()

구성 요소를 가져옵니다.

OnCreateActivation(IGrainContext)

활성화를 만들 때 호출됩니다.

OnDestroyActivation(IGrainContext)

활성화가 삭제될 때 호출됩니다.

SetComponent<TComponent>(TComponent)

구성 요소를 등록합니다.

적용 대상