![JAR search and dependency download from the Maven repository](/logo.png)
com.netflix.eureka2.interests.FullRegistryInterest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of eureka-core Show documentation
Show all versions of eureka-core Show documentation
eureka-core developed by Netflix
The newest version!
package com.netflix.eureka2.interests;
import com.netflix.eureka2.registry.InstanceInfo;
/**
* @author Nitesh Kant
*/
public class FullRegistryInterest extends Interest {
private static final FullRegistryInterest DEFAULT_INSTANCE = new FullRegistryInterest();
private static final int HASH = 234234128;
public static FullRegistryInterest getInstance() {
return DEFAULT_INSTANCE;
}
@Override
public boolean matches(InstanceInfo data) {
return true;
}
@Override
public int hashCode() {
return HASH;
}
@Override
public boolean equals(Object o) {
return o instanceof FullRegistryInterest;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy