Class FileBasedSeedHostsProvider

  • All Implemented Interfaces:

    public class FileBasedSeedHostsProvider
    extends java.lang.Object
    implements SeedHostsProvider
    An implementation of SeedHostsProvider that reads hosts/ports from UNICAST_HOSTS_FILE. Each host/port that is part of the discovery process must be listed on a separate line. If the port is left off an entry, we default to the first port in the transport.port range. An example unicast hosts file could read:
    • Field Detail


        public static final java.lang.String UNICAST_HOSTS_FILE
        See Also:
        Constant Field Values
    • Constructor Detail

      • FileBasedSeedHostsProvider

        public FileBasedSeedHostsProvider​(java.nio.file.Path configFile)