Düzenle

Aracılığıyla paylaş


StandaloneSiloHandle Class

Definition

A silo handle and factory which spawns a separate process for each silo.

public class StandaloneSiloHandle : Orleans.TestingHost.SiloHandle
type StandaloneSiloHandle = class
    inherit SiloHandle
Public Class StandaloneSiloHandle
Inherits SiloHandle
Inheritance
StandaloneSiloHandle

Constructors

StandaloneSiloHandle(String, IConfiguration, String)

Fields

ExecutablePathConfigKey

The configuration key used to identify the process to launch.

Properties

ClusterOptions

Get or set configuration of the cluster

(Inherited from SiloHandle)
GatewayAddress (Inherited from SiloHandle)
InstanceNumber

Gets or sets the instance number within the cluster.

(Inherited from SiloHandle)
IsActive

Gets whether the remote silo is expected to be active

Name

Get or set the name of the silo

(Inherited from SiloHandle)
NodeConfiguration

Get or set configuration of the silo

(Inherited from SiloHandle)
ProxyAddress

Get the proxy address of the silo

(Inherited from SiloHandle)
SiloAddress

Get or set the address of the silo

(Inherited from SiloHandle)
Type

Gets or sets the silo type

(Inherited from SiloHandle)

Methods

Create(String, IConfiguration)

Spawns a new process to host a silo, using the executable provided in the configuration's "ExecutablePath" property as the entry point.

CreateDelegate(String)

Creates a delegate which spawns a silo in a new process, using the provided executable as the entry point for that silo.

CreateForAssembly(Assembly)

Creates a delegate which spawns a silo in a new process, with the provided assembly (or its executable counterpart, if it is a library) being the entry point for that silo.

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

(Inherited from SiloHandle)
Dispose(Boolean)

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

DisposeAsync() System.Object.DisposeAsync
StopSilo(Boolean)

Stop the remote silo

(Inherited from SiloHandle)
StopSiloAsync(Boolean)

Stop the remote silo

StopSiloAsync(CancellationToken)

Stop the remote silo. This method cannot be use with AppDomain

ToString()

A string that represents the current SiloHandle

(Inherited from SiloHandle)

Applies to