Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanjbaxter committed Feb 20, 2017
2 parents df91ff7 + 652fe97 commit ea87b9b
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.cloud.client.discovery.event.HeartbeatEvent;
import org.springframework.cloud.netflix.eureka.serviceregistry.EurekaServiceRegistry;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.util.ReflectionUtils;

Expand All @@ -34,16 +33,13 @@
import com.netflix.discovery.EurekaClientConfig;
import com.netflix.discovery.shared.transport.EurekaHttpClient;

import lombok.extern.apachecommons.CommonsLog;

/**
* Subclass of {@link DiscoveryClient} that sends a {@link HeartbeatEvent} when
* {@link CloudEurekaClient#onCacheRefreshed()} is called.
* @author Spencer Gibb
*/
@CommonsLog
public class CloudEurekaClient extends DiscoveryClient {
private static final Log log = LogFactory.getLog(EurekaServiceRegistry.class);
private static final Log log = LogFactory.getLog(CloudEurekaClient.class);

private final AtomicLong cacheRefreshedCount = new AtomicLong(0);

Expand Down

0 comments on commit ea87b9b

Please sign in to comment.