Class IPAddressRangeManagerV4

java.lang.Object
com.biglybt.core.ipfilter.impl.IPAddressRangeManagerV4

public class IPAddressRangeManagerV4 extends Object
  • Field Details

    • LOGID

      private static final LogIDs LOGID
    • entries

      protected final Set<IpRangeV4Impl> entries
    • total_span

      protected long total_span
    • rebuild_required

      protected boolean rebuild_required
    • last_rebuild_time

      protected long last_rebuild_time
    • mergedRanges

      protected IpRangeV4Impl[] mergedRanges
    • this_mon

      protected final AEMonitor this_mon
  • Constructor Details

    • IPAddressRangeManagerV4

      protected IPAddressRangeManagerV4()
  • Method Details

    • addRange

      protected void addRange(IpRangeV4Impl range)
    • removeRange

      protected void removeRange(IpRangeV4Impl range)
    • isInRange

      public IpRangeV4Impl isInRange(Inet4Address ip)
    • isInRange

      private IpRangeV4Impl isInRange(long address_long)
    • checkRebuild

      private void checkRebuild()
    • rebuild

      private void rebuild()
    • signum

      private int signum(long diff)
      Parameters:
      diff -
      Returns:
    • main

      public static void main(String[] args)
    • getEntries

      protected List getEntries()
    • getEntryCount

      protected int getEntryCount()
    • clearAllEntries

      protected void clearAllEntries()