java.lang.Object
net.i2p.router.transport.GeoIP.LookupJob
All Implemented Interfaces:
Runnable
Enclosing class:
GeoIP

private class GeoIP.LookupJobextends Object implements Runnable
Runs the GeoIP lookups for the console.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final int
    Lookups between clears of the not-found set.
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    private
    Runs one GeoIP lookup for the console.
  • Method Summary

    All Methods
    Modifier and Type
    Method
    Description
    void
    run()
    Run the current lookup batch.
    long
    Loads the GeoIP IPv4 database and reports its timestamp.

    Methods inherited from class Object

    clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CLEAR

      private static final int CLEAR
      Lookups between clears of the not-found set.
      See Also:
  • Constructor Details

    • LookupJob

      private LookupJob()
      Runs one GeoIP lookup for the console.
  • Method Details

    • run

      public void run()
      Run the current lookup batch.
      Specified by:
      run in interface Runnable
    • runit

      public long runit()
      Loads the GeoIP IPv4 database and reports its timestamp.
      Returns:
      timestamp of the geoip ipv4 file used, or 0 on failure