CollectionAgeLimitAttribute
class
Namespace: Orleans
Specifies the period of inactivity before a grain is available for collection and deactivation.
public class CollectionAgeLimitAttribute : Attribute, IGrainPropertiesProviderAttributeConstructors
CollectionAgeLimitAttributeSpecifies 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.
Properties
AgeLimitGets the idle activation collection age.AlwaysActiveGets or sets a value indicating whether this grain should never be collected by the idle activation collector.DaysGets or sets the number of days to delay collecting an idle activation for.HoursGets or sets the number of hours to delay collecting an idle activation for.MinutesGets or sets the number of minutes to delay collecting an idle activation for.
Methods
Populate(IServiceProvider, Type, GrainType, Dictionary<string, string>)Adds grain properties toproperties.
Fields
MinAgeLimitGets the minimum activation age.
