org.apache.nutch.api
Interface ConfManager

All Known Implementing Classes:
RAMConfManager

public interface ConfManager


Method Summary
 void create(String confId, Map<String,String> props, boolean force)
           
 void delete(String confId)
           
 org.apache.hadoop.conf.Configuration get(String confId)
           
 Map<String,String> getAsMap(String confId)
           
 Set<String> list()
           
 void setProperty(String confId, String propName, String propValue)
           
 

Method Detail

list

Set<String> list()
                 throws Exception
Throws:
Exception

get

org.apache.hadoop.conf.Configuration get(String confId)

getAsMap

Map<String,String> getAsMap(String confId)

delete

void delete(String confId)

create

void create(String confId,
            Map<String,String> props,
            boolean force)
            throws Exception
Throws:
Exception

setProperty

void setProperty(String confId,
                 String propName,
                 String propValue)
                 throws Exception
Throws:
Exception


Copyright © 2013 The Apache Software Foundation