public class IpInfoIpAsnResolver extends GeoIpResolver<T>
GeoIpResolver to load IP ASN data from DatabaseVendorType.IPINFO.| Modifier and Type | Field and Description |
|---|---|
protected IPinfoIPLocationDatabaseAdapter |
adapter |
protected static org.slf4j.Logger |
LOG |
lastError, resolveTime| Constructor and Description |
|---|
IpInfoIpAsnResolver(com.codahale.metrics.Timer timer,
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 IPinfoIPLocationDatabaseAdapter adapter
@Inject
public IpInfoIpAsnResolver(com.codahale.metrics.Timer timer,
String configPath,
boolean enabled)
protected Optional<GeoAsnInformation> doGetGeoIpData(InetAddress address)
doGetGeoIpData in class GeoIpResolver<GeoAsnInformation>Copyright © 2012–2022 Graylog, Inc.. All rights reserved.