Package com.biglybt.core.ipfilter.impl
Class IPAddressRangeManagerV4
java.lang.Object
com.biglybt.core.ipfilter.impl.IPAddressRangeManagerV4
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Set
<IpRangeV4Impl> protected long
private static final LogIDs
protected IpRangeV4Impl[]
protected boolean
protected final AEMonitor
protected long
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
addRange
(IpRangeV4Impl range) private void
protected void
protected List
protected int
private IpRangeV4Impl
isInRange
(long address_long) static void
private void
rebuild()
protected void
removeRange
(IpRangeV4Impl range) private int
signum
(long diff)
-
Field Details
-
LOGID
-
entries
-
total_span
protected long total_span -
rebuild_required
protected boolean rebuild_required -
last_rebuild_time
protected long last_rebuild_time -
mergedRanges
-
this_mon
-
-
Constructor Details
-
IPAddressRangeManagerV4
protected IPAddressRangeManagerV4()
-
-
Method Details
-
addRange
-
removeRange
-
isInRange
-
isInRange
-
checkRebuild
private void checkRebuild() -
rebuild
private void rebuild() -
signum
private int signum(long diff) - Parameters:
diff
-- Returns:
-
main
-
getEntries
-
getEntryCount
protected int getEntryCount() -
clearAllEntries
protected void clearAllEntries()
-