org.apache.nutch.api.impl
Class RAMConfManager
java.lang.Object
org.apache.nutch.api.impl.RAMConfManager
- All Implemented Interfaces:
- ConfManager
public class RAMConfManager
- extends Object
- implements ConfManager
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RAMConfManager
public RAMConfManager()
list
public Set<String> list()
- Specified by:
list
in interface ConfManager
get
public Configuration get(String confId)
- Specified by:
get
in interface ConfManager
getAsMap
public Map<String,String> getAsMap(String confId)
- Specified by:
getAsMap
in interface ConfManager
create
public void create(String confId,
Map<String,String> props,
boolean force)
throws Exception
- Specified by:
create
in interface ConfManager
- Throws:
Exception
setProperty
public void setProperty(String confId,
String propName,
String propValue)
throws Exception
- Specified by:
setProperty
in interface ConfManager
- Throws:
Exception
delete
public void delete(String confId)
- Specified by:
delete
in interface ConfManager
Copyright © 2012 The Apache Software Foundation