public class MaxMindIpAsnResolver extends GeoIpResolver<T>
GeoIpResolver to load IP ASN data from DatabaseVendorType.MAXMIND.| Modifier and Type | Field and Description |
|---|---|
protected com.maxmind.geoip2.DatabaseReader |
databaseReader |
protected static org.slf4j.Logger |
LOG |
lastError, resolveTime| Constructor and Description |
|---|
MaxMindIpAsnResolver(com.codahale.metrics.Timer resolveTime,
String configPath,
boolean enabled) |
| Modifier and Type | Method and Description |
|---|---|
protected Optional<GeoAsnInformation> |
doGetGeoIpData(InetAddress address) |
getGeoIpData, getLastError, isEnabledprotected static final org.slf4j.Logger LOG
protected com.maxmind.geoip2.DatabaseReader databaseReader
@Inject
public MaxMindIpAsnResolver(com.codahale.metrics.Timer resolveTime,
String configPath,
boolean enabled)
protected Optional<GeoAsnInformation> doGetGeoIpData(InetAddress address)
doGetGeoIpData in class GeoIpResolver<GeoAsnInformation>Copyright © 2012–2022 Graylog, Inc.. All rights reserved.