Compartilhar via


CoreHostingExtensions.UseLocalhostClustering Método

Definição

Sobrecargas

UseLocalhostClustering(ISiloBuilder, Int32, Int32, IPEndPoint, String, String)

Configura o silo para usar o clustering somente de desenvolvimento e escutar no localhost.

UseLocalhostClustering(ISiloHostBuilder, Int32, Int32, IPEndPoint, String, String)

Configura o silo para usar o clustering somente de desenvolvimento e escutar no localhost.

UseLocalhostClustering(ISiloBuilder, Int32, Int32, IPEndPoint, String, String)

Origem:
CoreHostingExtensions.cs

Configura o silo para usar o clustering somente de desenvolvimento e escutar no localhost.

public static Orleans.Hosting.ISiloBuilder UseLocalhostClustering (this Orleans.Hosting.ISiloBuilder builder, int siloPort = 11111, int gatewayPort = 30000, System.Net.IPEndPoint primarySiloEndpoint = default, string serviceId = "dev", string clusterId = "dev");
static member UseLocalhostClustering : Orleans.Hosting.ISiloBuilder * int * int * System.Net.IPEndPoint * string * string -> Orleans.Hosting.ISiloBuilder
<Extension()>
Public Function UseLocalhostClustering (builder As ISiloBuilder, Optional siloPort As Integer = 11111, Optional gatewayPort As Integer = 30000, Optional primarySiloEndpoint As IPEndPoint = Nothing, Optional serviceId As String = "dev", Optional clusterId As String = "dev") As ISiloBuilder

Parâmetros

builder
ISiloBuilder

O construtor de silos.

siloPort
Int32

A porta do silo.

gatewayPort
Int32

A porta do gateway.

primarySiloEndpoint
IPEndPoint

O ponto de extremidade do silo primário ou null para usar esse silo como primário.

serviceId
String

A ID do serviço.

clusterId
String

A ID do cluster.

Retornos

O construtor de silos.

Aplica-se a

UseLocalhostClustering(ISiloHostBuilder, Int32, Int32, IPEndPoint, String, String)

Origem:
CoreHostingExtensions.cs

Configura o silo para usar o clustering somente de desenvolvimento e escutar no localhost.

public static Orleans.Hosting.ISiloHostBuilder UseLocalhostClustering (this Orleans.Hosting.ISiloHostBuilder builder, int siloPort = 11111, int gatewayPort = 30000, System.Net.IPEndPoint primarySiloEndpoint = default, string serviceId = "dev", string clusterId = "dev");
static member UseLocalhostClustering : Orleans.Hosting.ISiloHostBuilder * int * int * System.Net.IPEndPoint * string * string -> Orleans.Hosting.ISiloHostBuilder
<Extension()>
Public Function UseLocalhostClustering (builder As ISiloHostBuilder, Optional siloPort As Integer = 11111, Optional gatewayPort As Integer = 30000, Optional primarySiloEndpoint As IPEndPoint = Nothing, Optional serviceId As String = "dev", Optional clusterId As String = "dev") As ISiloHostBuilder

Parâmetros

builder
ISiloHostBuilder

O construtor de silos.

siloPort
Int32

A porta do silo.

gatewayPort
Int32

A porta do gateway.

primarySiloEndpoint
IPEndPoint

O ponto de extremidade do silo primário ou null para usar esse silo como primário.

serviceId
String

A ID do serviço.

clusterId
String

A ID do cluster.

Retornos

O construtor de silos.

Aplica-se a