GrainDirectoryOptions
class
Namespace: Orleans.Configuration
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public class GrainDirectoryOptionsConstructors
Properties
CacheSizeGets or sets the maximum number of grains to cache directory information for.CacheTTLExtensionFactorGets or sets the factor by which cache entry TTLs should be extended when they are found to be stable.CachingStrategyGets or sets the caching strategy to use. The options are None, which means don't cache directory entries locally; LRU, which indicates that a standard fixed-size least recently used strategy should be used; and Adaptive, which indicates that an adaptive strategy with a fixed maximum size should be used. The LRU strategy is used by default.InitialCacheTTLGets or sets the initial (minimum) time, in seconds, to keep a cache entry before revalidating.LazyDeregistrationDelayGets or sets the time span between when we have added an entry for an activation to the grain directory and when we are allowed to conditionally remove that entry. Conditional deregistration is used for lazy clean-up of activations whose prompt deregistration failed for some reason (e.g., message failure). This should always be at least one minute, since we compare the times on the directory partition, so message delays and clcks skues have to be allowed.MaximumCacheTTLGets or sets the maximum time, in seconds, to keep a cache entry before revalidating.PartitionsPerSiloGets or sets the number of directory partitions per silo.
Fields
DEFAULT_CACHE_SIZEThe default value forGrainDirectoryOptions.DEFAULT_CACHING_STRATEGYThe default value forGrainDirectoryOptions.DEFAULT_INITIAL_CACHE_TTLThe default value forGrainDirectoryOptions.DEFAULT_MAXIMUM_CACHE_TTLThe default value forGrainDirectoryOptions.DEFAULT_PARTITIONS_PER_SILOThe default value forGrainDirectoryOptions.DEFAULT_TTL_EXTENSION_FACTORThe default value forGrainDirectoryOptions.DEFAULT_UNREGISTER_RACE_DELAYThe default value forGrainDirectoryOptions.
