Package org.graylog.plugins.map.geoip
Class GeoIpResolver<V>
java.lang.Object
org.graylog.plugins.map.geoip.GeoIpResolver<V>
- Direct Known Subclasses:
IpInfoIpAsnResolver,IpInfoLocationResolver,MaxMindIpAsnResolver,MaxMindIpLocationResolver
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondoGetGeoIpData(InetAddress address) getGeoIpData(InetAddress address) Get the last error, if any, produced after having calledgetGeoIpData(InetAddress).boolean
-
Field Details
-
lastError
-
resolveTime
protected final com.codahale.metrics.Timer resolveTime
-
-
Method Details
-
isEnabled
public boolean isEnabled() -
getGeoIpData
-
getLastError
Get the last error, if any, produced after having calledgetGeoIpData(InetAddress).- Returns:
- optional error message
-
doGetGeoIpData
-