- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for createAllocationService (0.1 seconds)
-
benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/Allocators.java
throw new AssertionError("Do not instantiate"); } public static AllocationService createAllocationService(Settings settings) { return createAllocationService(settings, new ClusterSettings(Settings.EMPTY, ClusterSettings.BUILT_IN_CLUSTER_SETTINGS)); } public static AllocationService createAllocationService(Settings settings, ClusterSettings clusterSettings) { return new AllocationService(
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Wed Feb 03 00:10:53 GMT 2021 - 3.9K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/AllocationBenchmark.java
int numIndices = toInt(params[0]); int numShards = toInt(params[1]); int numReplicas = toInt(params[2]); int numNodes = toInt(params[3]); strategy = Allocators.createAllocationService( Settings.builder().put("cluster.routing.allocation.awareness.attributes", "tag").build() ); Metadata.Builder mb = Metadata.builder(); for (int i = 1; i <= numIndices; i++) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Apr 13 08:33:41 GMT 2021 - 6.7K bytes - Click Count (0)