Package org.graylog.plugins.map.geoip
Interface GeoIpResolverFactory
public interface GeoIpResolverFactory
A factory to create ASN and Location
GeoIpResolver
resolvers based on the DatabaseVendorType
contained in
the current GeoIpResolverConfig
.-
Method Summary
Modifier and TypeMethodDescriptioncreateIpInfoAsnResolver
(com.codahale.metrics.Timer resolveTime, String configPath, boolean enabled) createIpInfoCityResolver
(com.codahale.metrics.Timer resolveTime, String configPath, boolean enabled) createMaxMindAsnResolver
(com.codahale.metrics.Timer resolveTime, String configPath, boolean enabled) createMaxMindCityResolver
(com.codahale.metrics.Timer resolveTime, String configPath, boolean enabled)
-
Method Details
-
createMaxMindCityResolver
@Named("MAXMIND_CITY") GeoIpResolver<GeoLocationInformation> createMaxMindCityResolver(com.codahale.metrics.Timer resolveTime, String configPath, boolean enabled) -
createMaxMindAsnResolver
@Named("MAXMIND_ASN") GeoIpResolver<GeoAsnInformation> createMaxMindAsnResolver(com.codahale.metrics.Timer resolveTime, String configPath, boolean enabled) -
createIpInfoCityResolver
@Named("IPINFO_CITY") GeoIpResolver<GeoLocationInformation> createIpInfoCityResolver(com.codahale.metrics.Timer resolveTime, String configPath, boolean enabled) -
createIpInfoAsnResolver
@Named("IPINFO_ASN") GeoIpResolver<GeoAsnInformation> createIpInfoAsnResolver(com.codahale.metrics.Timer resolveTime, String configPath, boolean enabled)
-