Partager via


CoreHostingExtensions.UseLocalhostClustering Méthode

Définition

Surcharges

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

Configure le silo pour utiliser le clustering de développement uniquement et écouter sur localhost.

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

Configure le silo pour utiliser le clustering de développement uniquement et écouter sur localhost.

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

Source:
CoreHostingExtensions.cs

Configure le silo pour utiliser le clustering de développement uniquement et écouter sur 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

Paramètres

builder
ISiloBuilder

Générateur de silo.

siloPort
Int32

Port de silo.

gatewayPort
Int32

Port de passerelle.

primarySiloEndpoint
IPEndPoint

Point de terminaison du silo principal ou null pour utiliser ce silo comme principal.

serviceId
String

ID de service.

clusterId
String

ID de cluster.

Retours

Générateur de silo.

S’applique à

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

Source:
CoreHostingExtensions.cs

Configure le silo pour utiliser le clustering de développement uniquement et écouter sur 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

Paramètres

builder
ISiloHostBuilder

Générateur de silo.

siloPort
Int32

Port de silo.

gatewayPort
Int32

Port de passerelle.

primarySiloEndpoint
IPEndPoint

Point de terminaison du silo principal ou null pour utiliser ce silo comme principal.

serviceId
String

ID de service.

clusterId
String

ID de cluster.

Retours

Générateur de silo.

S’applique à