//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private org.neo4j.causalclustering.discovery.Cluster<?> startCluster2(String recordFormat) throws java.util.concurrent.ExecutionException, InterruptedException //JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET: private Cluster <object> StartCluster2(string recordFormat) { IDictionary <string, string> sharedParams = new Dictionary <string, string>(); sharedParams[GraphDatabaseSettings.record_format.name()] = recordFormat; //JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET: //ORIGINAL LINE: org.neo4j.causalclustering.discovery.Cluster<?> cluster = new org.neo4j.causalclustering.discovery.EnterpriseCluster(testDirectory.directory("cluster-b_" + recordFormat), 3, 0, new org.neo4j.causalclustering.discovery.SharedDiscoveryServiceFactory(), sharedParams, emptyMap(), sharedParams, emptyMap(), recordFormat, org.neo4j.causalclustering.discovery.IpFamily.IPV4, false); Cluster <object> cluster = new EnterpriseCluster(_testDirectory.directory("cluster-b_" + recordFormat), 3, 0, new SharedDiscoveryServiceFactory(), sharedParams, emptyMap(), sharedParams, emptyMap(), recordFormat, IpFamily.IPV4, false); cluster.Start(); CreateSomeData(cluster); return(cluster); }
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in C#: //ORIGINAL LINE: private org.neo4j.causalclustering.discovery.Cluster<?> startIpv6Cluster() throws java.util.concurrent.ExecutionException, InterruptedException //JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET: private Cluster <object> StartIpv6Cluster() { DiscoveryServiceFactory discoveryServiceFactory = new SharedDiscoveryServiceFactory(); File parentDir = _testDirectory.directory("ipv6_cluster"); IDictionary <string, string> coreParams = new Dictionary <string, string>(); coreParams[GraphDatabaseSettings.record_format.name()] = RecordFormat; IDictionary <string, System.Func <int, string> > instanceCoreParams = new Dictionary <string, System.Func <int, string> >(); IDictionary <string, string> readReplicaParams = new Dictionary <string, string>(); readReplicaParams[GraphDatabaseSettings.record_format.name()] = RecordFormat; IDictionary <string, System.Func <int, string> > instanceReadReplicaParams = new Dictionary <string, System.Func <int, string> >(); //JAVA TO C# CONVERTER WARNING: Java wildcard generics have no direct equivalent in .NET: //ORIGINAL LINE: org.neo4j.causalclustering.discovery.Cluster<?> cluster = new org.neo4j.causalclustering.discovery.EnterpriseCluster(parentDir, 3, 3, discoveryServiceFactory, coreParams, instanceCoreParams, readReplicaParams, instanceReadReplicaParams, recordFormat, org.neo4j.causalclustering.discovery.IpFamily.IPV6, false); Cluster <object> cluster = new EnterpriseCluster(parentDir, 3, 3, discoveryServiceFactory, coreParams, instanceCoreParams, readReplicaParams, instanceReadReplicaParams, RecordFormat, IpFamily.IPV6, false); cluster.Start(); CreateSomeData(cluster); return(cluster); }