Class EurekaRegistryService

java.lang.Object
org.kiwiproject.registry.eureka.server.EurekaRegistryService
All Implemented Interfaces:
RegistryService

public class EurekaRegistryService extends Object implements RegistryService
  • Field Details

    • DEFAULT_DATA_CENTER_INFO_CLASS

      public static final String DEFAULT_DATA_CENTER_INFO_CLASS
      Funny story ... this class doesn't actually exist. It's for "backwards compatibility".

      See com.netflix.discovery.converters.jackson.DataCenterTypeInfoResolver for details. (NOTE: javadoc annotation not used to avoid unnecessary errors.)

      See Also:
    • DEFAULT_DATA_CENTER_NAME

      public static final String DEFAULT_DATA_CENTER_NAME
      See Also:
    • LEASE_DURATION_IN_SECONDS

      public static final String LEASE_DURATION_IN_SECONDS
      Key for lease info representing lease duration in seconds.
      See Also:
    • LEASE_RENEWAL_INTERVAL_IN_SECONDS

      public static final String LEASE_RENEWAL_INTERVAL_IN_SECONDS
      Key for lease info representing renewal interval in seconds.
      See Also:
    • MAX_AWAIT_REGISTRATION_CONFIRMATION_TRIES

      public static final int MAX_AWAIT_REGISTRATION_CONFIRMATION_TRIES
      Maximum number of attempts we will make to await confirmation that we're registered with Eureka.
      See Also:
    • MAX_REGISTRATION_ATTEMPTS

      public static final int MAX_REGISTRATION_ATTEMPTS
      Maximum number of attempts we will make trying to register with Eureka (via POST)
      See Also:
  • Constructor Details

    • EurekaRegistryService

      public EurekaRegistryService(EurekaRegistrationConfig config, EurekaRestClient client, org.kiwiproject.base.KiwiEnvironment environment)
    • EurekaRegistryService

      public EurekaRegistryService(EurekaRegistrationConfig config, EurekaRestClient client, org.kiwiproject.base.KiwiEnvironment environment, org.kiwiproject.retry.SimpleRetryer registerRetryer, org.kiwiproject.retry.SimpleRetryer awaitRetryer, org.kiwiproject.retry.SimpleRetryer updateStatusRetryer, org.kiwiproject.retry.SimpleRetryer unregisterRetryer)
  • Method Details