Skip to content

GrainCollectionOptions Properties

Silo options for idle grain collection.

ClassSpecificCollectionAge

getset
View source
public Dictionary<string, TimeSpan> ClassSpecificCollectionAge
Period of inactivity necessary for a grain to be available for collection and deactivation by grain type.

CollectionAge

getset
View source
public TimeSpan CollectionAge
Gets or sets the default period of inactivity necessary for a grain to be available for collection and deactivation.

DeactivationTimeout

getset
View source
public TimeSpan DeactivationTimeout
Timeout value before giving up when trying to deactivate a grain activation (waiting for all timers to stop and calling Grain.OnDeactivate())

MemoryUsageLimitPercentage

getset
View source
public double MemoryUsageLimitPercentage
The memory usage percentage (0–100) at which grain collection is triggered. Must be greater than 0 and less than or equal to 100.