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