Class FileBasedUnicastHostsProvider

  • All Implemented Interfaces:
    UnicastHostsProvider

    public class FileBasedUnicastHostsProvider
    extends AbstractComponent
    implements UnicastHostsProvider
    An implementation of UnicastHostsProvider that reads hosts/ports from UNICAST_HOSTS_FILE. Each unicast host/port that is part of the discovery process must be listed on a separate line. If the port is left off an entry, a default port of 9300 is assumed. An example unicast hosts file could read: 67.81.244.10 67.81.244.11:9305 67.81.244.15:9400