public interface MorphlineHandler extends Configurable
| Modifier and Type | Method and Description | 
|---|---|
| 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 | 
configurevoid 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()
Copyright © 2009-2017 Apache Software Foundation. All Rights Reserved.