Class CombinedIPList

java.lang.Object
org.apache.hadoop.util.CombinedIPList
All Implemented Interfaces:
IPList

public class CombinedIPList extends Object implements IPList
Util class to stores ips/hosts/subnets.
  • Field Details

    • LOG

      public static final org.slf4j.Logger LOG
  • Constructor Details

    • CombinedIPList

      public CombinedIPList(String fixedBlackListFile, String variableBlackListFile, long cacheExpiryInSeconds)
  • Method Details

    • isIn

      public boolean isIn(String ipAddress)
      Description copied from interface: IPList
      returns true if the ipAddress is in the IPList.
      Specified by:
      isIn in interface IPList
      Parameters:
      ipAddress - ipAddress.
      Returns:
      boolean value indicating whether the ipAddress is in the IPList