Class LocalAddressProviderBuilder

java.lang.Object
com.tangosol.coherence.config.builder.LocalAddressProviderBuilder
All Implemented Interfaces:
AddressProviderBuilder, ParameterizedBuilder<AddressProvider>, AddressProviderFactory

public class LocalAddressProviderBuilder extends Object implements AddressProviderBuilder
This class builds an AddressProviderBuilder from a local address. All ConfigurationExceptions are deferred until realization time.
Since:
Coherence 12.2.1
Author:
jf 2015.02.26
  • Field Details

  • Constructor Details

    • LocalAddressProviderBuilder

      public LocalAddressProviderBuilder(InetAddress addr, int nPortMin, int nPortMax)
      Constructs LocalAddressProviderBuilder with a resolved address.
      Parameters:
      addr - the local address, or null
      nPortMin - the minimum port to use, or -1 to use ephemeral sub-ports
      nPortMax - the maximum port to use
    • LocalAddressProviderBuilder

      public LocalAddressProviderBuilder(String sAddr, int nPortMin, int nPortMax, XmlElement xmlConfig)
      Constructs LocalAddressProviderBuilder deferring address resolution until realized.
      Parameters:
      sAddr - the local address, or null
      nPortMin - the minimum port to use, or -1 to use ephemeral sub-ports
      nPortMax - the maximum port to use
      xmlConfig - optional xml to used in ConfigurationException if this is invalid.
    • LocalAddressProviderBuilder

      public LocalAddressProviderBuilder(String sAddr, int nPortMin, int nPortMax)
      Constructs LocalAddressProviderBuilder deferring address resolution until realized.
      Parameters:
      sAddr - the local address, or null
      nPortMin - the minimum port to use, or -1 to use ephemeral sub-ports
      nPortMax - the maximum port to use
  • Method Details