org.apache.hadoop.util
Class CombinedIPWhiteList
java.lang.Object
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
|
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 |
LOG
public static final org.apache.commons.logging.Log LOG
CombinedIPWhiteList
public CombinedIPWhiteList(String fixedWhiteListFile,
String variableWhiteListFile,
long cacheExpiryInSeconds)
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.