ContractServersInfo
Specify servers to be used to launch services, import and export contract
Constructors
Constructor | Description |
new()
Signature: unit -> ContractServersInfo
|
|
Instance members
Instance member | Description |
AddCluster(cl)
Signature: cl:Cluster -> unit
|
Add a cluster
|
AddServerBehindTrafficManager(...)
Signature: (serverName:string * port:int) -> unit
|
Add one traffic manager, with server name and port,
the traffic manager may be resolved to different servers during the time span
|
AddSingleServer(serverName, port)
Signature: (serverName:string * port:int) -> unit
|
Add one single server, with server name and port,
We assume that the single server always resolved to a certain servername and port, thus doesn't need to be resolved repeatedly
|
Cluster()
Signature: unit -> Cluster
|
Add a cluster
|
Cluster()
Signature: unit -> unit
|
Add a cluster
|
InternalToResolveAllInMillisecond()
Signature: unit -> int
|
Internal to Resolve All Traffic manager (in millisecond)
|
InternalToResolveAllInMillisecond()
Signature: unit -> unit
|
Internal to Resolve All Traffic manager (in millisecond)
|