org.apache.nutch.api.impl
Class RAMConfManager

java.lang.Object
  extended by org.apache.nutch.api.impl.RAMConfManager
All Implemented Interfaces:
ConfManager

public class RAMConfManager
extends Object
implements ConfManager


Constructor Summary
RAMConfManager()
           
 
Method Summary
 void create(String confId, Map<String,String> props, boolean force)
           
 void delete(String confId)
           
 Configuration get(String confId)
           
 Map<String,String> getAsMap(String confId)
           
 Set<String> list()
           
 void setProperty(String confId, String propName, String propValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RAMConfManager

public RAMConfManager()
Method Detail

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