InvocationGridBuilderLoad Method

ScaleOut Software NamedCache API
Ensures that the worker processes corresponding to this InvocationGridBuilder's grid name are loaded and that the grid's dependencies are available on all hosts.

Namespace:  Soss.Client
Assembly:  soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax

public InvocationGrid Load()

Return Value

Type: InvocationGrid
An InvocationGrid instance representing the set of hosts available for invoke operations.
Remarks

If the invocation grid is not yet loaded, this method delivers dependencies to the hosts and starts up the invocation workers. It does not return until workers are running and ready to handle invocations. If the invocation grid is already loaded, and all dependencies specified in this builder match dependencies in the loaded grid, it connects to the existing invocation grid and returns a corresponding InvocationGrid object.

This implementation uses the ModuleVersionId corresponding to the ManifestModule to determine if two assemblies with the same AssemblyName are identical. The ModuleVersionId is a Guid which is regenerated by the .Net compilers each time an assembly is compiled. If an InvocationGrid corresponding to the same GridName already exists in StateServer then an individual Assembly will be replaced by the [M:Load] method if its ModuleVersionId does not correspond to the ModuleVersionId of the dependent assembly referenced in the builder. Conversely, if the ModuleVersionId's are the same, then the assemblies are assumed to be identical and are not reloaded.

The current implementation only supports single-module Assemblies. In particular, satellite assemblies are not propagated to remote hosts.

See Also

Reference