Interface IgniteClientAddressFinder


public interface IgniteClientAddressFinder
Provides a list of Ignite node addresses.

Unlike IgniteClientConfiguration.addresses(), this interface allows to provide addresses dynamically and handle changes in the cluster topology.

Ignite client will periodically call getAddresses() method to get the actual list of addresses.

  • Method Summary

    Modifier and Type
    Method
    Description
    Get addresses of Ignite server nodes within a cluster.
  • Method Details

    • getAddresses

      String[] getAddresses()
      Get addresses of Ignite server nodes within a cluster. An address can be an IP address or a hostname, with or without port. If port is not set then Ignite will use the default port - IgniteClientConfiguration.DFLT_PORT.
      Returns:
      Addresses of Ignite server nodes within a cluster.