org.apache.hadoop.util
Class CombinedIPWhiteList

java.lang.Object
  extended by org.apache.hadoop.util.CombinedIPWhiteList
All Implemented Interfaces:
IPList

public class CombinedIPWhiteList
extends Object
implements IPList


Field Summary
static org.apache.commons.logging.Log LOG
           
 
Constructor Summary
CombinedIPWhiteList(String fixedWhiteListFile, String variableWhiteListFile, long cacheExpiryInSeconds)
           
 
Method Summary
 boolean isIn(String ipAddress)
          returns true if the ipAddress is in the IPList.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.commons.logging.Log LOG
Constructor Detail

CombinedIPWhiteList

public CombinedIPWhiteList(String fixedWhiteListFile,
                           String variableWhiteListFile,
                           long cacheExpiryInSeconds)
Method Detail

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
Returns:
boolean value indicating whether the ipAddress is in the IPList


Copyright © 2014 Apache Software Foundation. All Rights Reserved.