Skip to content

Grain.MigrateOnIdle

MigrateOnIdle

View source
protected void MigrateOnIdle()
Starts an attempt to migrating this instance to another location. Migration captures the current RequestContext, making it available to the activation's placement director so that it can consider it when selecting a new location. Migration will occur asynchronously, when no requests are executing, and will not occur if the activation's placement director does not select an alternative location.