다음을 통해 공유


StatelessWorkerAttribute 클래스

정의

StatelessWorker 특성은 요청 간에 조직 상태를 보존할 필요가 없고 런타임에서 동일한 조직의 여러 활성화를 만들 수 있는 조직 클래스를 표시하는 데 사용됩니다.

[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class StatelessWorkerAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
public sealed class StatelessWorkerAttribute : Orleans.Placement.PlacementAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type StatelessWorkerAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type StatelessWorkerAttribute = class
    inherit PlacementAttribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
type StatelessWorkerAttribute = class
    inherit PlacementAttribute
    interface IGrainPropertiesProviderAttribute
Public NotInheritable Class StatelessWorkerAttribute
Inherits Attribute
Public NotInheritable Class StatelessWorkerAttribute
Inherits PlacementAttribute
상속
StatelessWorkerAttribute
상속
StatelessWorkerAttribute
특성
구현

생성자

StatelessWorkerAttribute()

StatelessWorkerAttribute 클래스의 새 인스턴스를 초기화합니다.

StatelessWorkerAttribute(Int32)

StatelessWorkerAttribute 클래스의 새 인스턴스를 초기화합니다.

속성

MaxLocalWorkers

단일 사일로에 있는 로컬 StatelessWorkers의 최대 수입니다.

PlacementStrategy

StatelessWorker 특성은 요청 간에 조직 상태를 보존할 필요가 없고 런타임에서 동일한 조직의 여러 활성화를 만들 수 있는 조직 클래스를 표시하는 데 사용됩니다.

(다음에서 상속됨 PlacementAttribute)

메서드

Populate(IServiceProvider, Type, GrainType, Dictionary<String,String>)

에 조직 속성을 properties추가합니다.

Populate(IServiceProvider, Type, GrainType, Dictionary<String,String>)

에 조직 속성을 properties추가합니다.

(다음에서 상속됨 PlacementAttribute)

적용 대상