CollectionAgeLimitAttribute Class

Definition

Specifies the period of inactivity before a grain is available for collection and deactivation.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
public class CollectionAgeLimitAttribute : Attribute, Orleans.Metadata.IGrainPropertiesProviderAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
type CollectionAgeLimitAttribute = class
    inherit Attribute
    interface IGrainPropertiesProviderAttribute
Public Class CollectionAgeLimitAttribute
Inherits Attribute
Implements IGrainPropertiesProviderAttribute
Inheritance
CollectionAgeLimitAttribute
Attributes
Implements

Constructors

CollectionAgeLimitAttribute()

Specifies the period of inactivity before a grain is available for collection and deactivation.

CollectionAgeLimitAttribute(String)

Specifies the period of inactivity before a grain is available for collection and deactivation.

Fields

MinAgeLimit

Gets the minimum activation age.

Properties

AgeLimit

Gets the idle activation collection age.

AlwaysActive

Gets or sets a value indicating whether this grain should never be collected by the idle activation collector.

Days

Gets or sets the number of days to delay collecting an idle activation for.

Hours

Gets or sets the number of hours to delay collecting an idle activation for.

Minutes

Gets or sets the number of minutes to delay collecting an idle activation for.

Methods

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

Adds grain properties to properties.

Applies to