Interface NodeInfo

  • All Known Implementing Classes:
    DefaultNodeInfo

    public interface NodeInfo
    • Method Detail

      • hostname

        String hostname()
        The inet address of the node.
        Returns:
        the host address.
      • services

        Map<ServiceType,​Integer> services()
        The exposed non-ssl services.
        Returns:
        a map containing all services with ports.
      • sslServices

        Map<ServiceType,​Integer> sslServices()
        The exposed ssl services.
        Returns:
        a map containing all services with secured ports.
      • alternateAddresses

        Map<String,​AlternateAddress> alternateAddresses()
        Contains alternate addresses, if set.
        Returns:
        a map containing alternate addresses.
      • useAlternateNetwork

        String useAlternateNetwork()
        True if alternate addresses should be used, false otherwise.
      • useAlternateNetwork

        @Private
        void useAlternateNetwork​(String useAlternateNetwork)
        Setter to set if external networking should be used or not.
        Parameters:
        useAlternateNetwork - if not null will be used.