| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MorphlineHandler
Interface to load Flume events into Solr
| Method Summary | |
|---|---|
|  void | beginTransaction()Begins a transaction | 
|  void | commitTransaction()Sends any outstanding documents to Solr and waits for a positive or negative ack (i.e. | 
|  void | process(Event event)Loads the given event into Solr | 
|  void | rollbackTransaction()Performs a rollback of all non-committed documents pending. | 
|  void | stop()Releases allocated resources | 
| Methods inherited from interface org.apache.flume.conf.Configurable | 
|---|
| configure | 
| Method Detail | 
|---|
void beginTransaction()
void process(Event event)
void commitTransaction()
IOException - If there is a low-level I/O error.void rollbackTransaction()
Note that this is not a true rollback as in databases. Content you have previously added to Solr may have already been committed due to autoCommit, buffer full, other client performing a commit etc. So this is only a best-effort rollback.
IOException - If there is a low-level I/O error.void stop()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||