Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for TransportAddress (0.11 seconds)

  1. benchmarks/src/main/java/org/elasticsearch/benchmark/routing/allocation/Allocators.java

        public static DiscoveryNode newNode(String nodeId, Map<String, String> attributes) {
            return new DiscoveryNode(
                "",
                nodeId,
                new TransportAddress(TransportAddress.META_ADDRESS, portGenerator.incrementAndGet()),
                attributes,
                Sets.newHashSet(DiscoveryNodeRole.MASTER_ROLE, DiscoveryNodeRole.DATA_ROLE),
                Version.CURRENT
            );
        }
    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)
Back to Top