Package org.apache.hadoop.util
Class FileBasedIPList
java.lang.Object
org.apache.hadoop.util.FileBasedIPList
- All Implemented Interfaces:
IPList
FileBasedIPList loads a list of subnets in CIDR format and ip addresses from
a file.
Given an ip address, isIn method returns true if ip belongs to one of the
subnets.
Thread safe.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanreturns true if the ipAddress is in the IPList.reload()