IGrainRuntime
interface
Namespace: Orleans.Runtime
The gateway of the
Grain to the Orleans runtime. The Grain should only interact with the runtime through this interface. public interface IGrainRuntimeProperties
GrainFactoryGets the grain factory.ServiceProviderGets the service provider.SiloAddressGets the silo address associated with this instance.SiloIdentityGets a unique identifier for the current silo. There is no semantic content to this string, but it may be useful for logging.TimeProviderGets the time provider.TimerRegistryGets the timer registry.
Methods
DeactivateOnIdle(IGrainContext)Deactivates the provided grain when it becomes idle.DelayDeactivation(IGrainContext, TimeSpan)Delays idle activation collection of the provided grain due to inactivity until at least the specified time has elapsed.GetStorage(IGrainContext)Gets grain storage for the provided grain.
