org.apache.hadoop.security
Class NetgroupCache
java.lang.Object
org.apache.hadoop.security.NetgroupCache
public class NetgroupCache
- extends Object
Class that caches the netgroups and inverts group-to-user map
to user-to-group map
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetgroupCache
public NetgroupCache()
getNetgroups
public void getNetgroups(String user,
List<String> groups)
getNetgroupNames
public List<String> getNetgroupNames()
isCached
public boolean isCached(String group)
clear
public void clear()
add
public void add(String group,
List<String> users)
Copyright © 2009 The Apache Software Foundation