Class LoadBalancer.AddressPort

java.lang.Object
com.tangosol.util.Base
com.tangosol.net.LoadBalancer.AddressPort
Enclosing class:
LoadBalancer

public static class LoadBalancer.AddressPort extends Base
An AddressPort is an immutable combination of an IP address and a port number.
  • Field Details

    • address

      public final InetAddress address
      The address.
    • nPort

      public final int nPort
      The port.
  • Constructor Details

    • AddressPort

      public AddressPort(InetAddress address, int nPort)
      Construct an AddressPort object.
  • Method Details

    • toString

      public String toString()
      Return a human readable description of this AddressPort object.
      Overrides:
      toString in class Object
      Returns:
      a human readable description of this AddressPort object