Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Nutch Wiki" for change 
notification.

The "NutchRESTAPI" page has been changed by FjodorVershinin:
https://wiki.apache.org/nutch/NutchRESTAPI?action=diff&rev1=16&rev2=17

     ]
  }
  }}}}
+ == Rest API improvement proposals ==
+ 
+ 
  == Nutch Jobs ==
  
  
@@ -312, +315 @@

  The graphic below displays the REST API architecture and described the 
classes as well as the role and context within the API operation.
  
  {{attachment:API.png}}
+ 
+ Some comments about class roles in Nutch API.
+  * NutchServer - entry point. Parses commandline parameters and configures 
Restlet application through JAX-RS API.
+  * AbstractResource - abstract JAX-RS resource. Other JAX-RS extend it in 
order to get references to ConfManager, JobManager and NutchServer.
+  * JobFactory - factory class, which creates job objects based on JobType or 
class name. 
+  * DbReader - manages connections to web store, processes filter and runs 
Gora query.
+  * DbIterator - navigates through selected data, skips non-relevant records
+  * DbPageConverter - converts database record into Nutch API model object
+  * NutchServerPoolExecutor - manages running jobs and job's history.
+  * RAMConfManager - manages nutch configuration in memory
+  * RAMJobManager - stores job info in memory, job execution
  
  == Related Documentation ==
   * [[bin/nutch nutchserver]] - run a (local) Nutch server on a user defined 
port.

Reply via email to