Class FileBasedUnicastHostsProvider

  • All Implemented Interfaces:

    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: