Class EurekaRegistryService

    • Field Detail

      • 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:
        Constant Field Values
      • LEASE_DURATION_IN_SECONDS

        public static final String LEASE_DURATION_IN_SECONDS
        Key for lease info representing lease duration in seconds.
        See Also:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Constructor Detail

      • 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)