Esempio n. 1
0
 internal CausalCluster(CausalClusterInProcessBuilder.Builder builder)
 {
     this.NCores                  = builder.NumCoreHosts;
     this.NReplicas               = builder.NumReadReplicas;
     this.ClusterPath             = builder.Path;
     this.Log                     = builder.Log;
     this.PortFactory             = builder.PortFactory;
     this.DatabaseNames           = builder.Databases;
     this.Config                  = builder.Config;
     this.DiscoveryServiceFactory = builder.DiscoveryServiceFactory;
 }
Esempio n. 2
0
 public override Builder WithDiscoveryServiceFactory(DiscoveryServiceFactorySelector.DiscoveryImplementation discoveryServiceFactory)
 {
     this.DiscoveryServiceFactory = discoveryServiceFactory;
     return(this);
 }