An InvocationGrid factory class.
Inheritance Hierarchy
Soss.ClientInvocationGridBuilder
Namespace: Soss.Client
Assembly: soss_namedcache (in soss_namedcache.dll) Version: 6.2.0.0
Syntax
The InvocationGridBuilder type exposes the following members.
Constructors
Name | Description | |
---|---|---|
InvocationGridBuilder(String) |
Creates an InvocationGridBuilder instance initialized to configure an InvocationGrid with the given name.
| |
InvocationGridBuilder(InvocationGrid) |
Initialize a new InvocationGridBuilder from an existing InvocationGrid.
|
Properties
Name | Description | |
---|---|---|
AllowClientCachingInInvokeCallbacks |
Gets or sets a nullable boolean value that controls whether objects fetched in the
invocation grid worker process during Invoke processing are allowed to be cached in the
client cache.
| |
AllowFastReads |
Enables/disables "fast reads" feature for invocations performed within this invocation grid.
| |
GridName |
Returns the name of this InvocationGrid object as specified in the InvocationGridBuilder's constructor.
| |
Initializer |
Delegate that will be run by each worker when the IG is loaded.
| |
InitializerArgument |
Parameter's value for initializer's method of InvocationGrid.
| |
LingerTime |
Gets/Sets the time for which the InvocationGrid loaded by this InvocationGridBuilder remains loaded after the application exits.
| |
LockOnRead |
Gets or sets locking behavior for the invocation grid. If true, objects will
be locked before they are read and passed into eval invocations, ensuring that
other clients/threads will not change objects while they are being evaluated.
The default behavior is false (locking will not be performed).
| |
MaxInvokeWorkerThreads |
Gets or sets a nullable int value that specifies the maximum number of
worker threads that the invocation grid's worker process may use. If null, the default
number of threads is the number of logical processors on the system plus one.
| |
MaxWorkerCacheKB |
Get/Set the maximum size of the invocation grid workers' client-side cache in kilobytes.
|
Methods
Name | Description | |
---|---|---|
AddDependency(Assembly) |
Ensures that the dependency and any assemblies referenced by
dependency are copied to the hosts on which the invocation grid will
run when the [M:Load] method is called.
| |
AddDependency(Type) |
Ensures that the Assemblies required by dependency are copied to the
hosts on which the invocation grid will run when the [M:Load] method is
called.
| |
AddDependencyT(T) |
Ensures that the Assemblies required by dependency are copied to the
hosts on which the invocation grid will run when the [M:Load] method is
called.
| |
AggregateIgServerNames | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetIfExists |
Obtains the InvocationGrid instance for loaded invocation grid
with the name GridName. If the invocation grid
instance with this name does not exist, the method returns null.
| |
GetIgServerName | ||
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
InitializeAndGetIgServerName | ||
Load |
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.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also