Package org.apache.tika.eval.batch
Class DBConsumersManager
- java.lang.Object
-
- org.apache.tika.batch.ConsumersManager
-
- org.apache.tika.eval.batch.DBConsumersManager
-
public class DBConsumersManager extends ConsumersManager
-
-
Constructor Summary
Constructors Constructor Description DBConsumersManager(JDBCUtil dbUtil, MimeBuffer mimeBuffer, List<FileResourceConsumer> consumers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addErrorLogTablePair(Path log, TableInfo tableInfo)
void
shutdown()
This is called by BatchProcess immediately before closing.-
Methods inherited from class org.apache.tika.batch.ConsumersManager
getConsumers, getConsumersManagerMaxMillis, init, setConsumersManagerMaxMillis
-
-
-
-
Constructor Detail
-
DBConsumersManager
public DBConsumersManager(JDBCUtil dbUtil, MimeBuffer mimeBuffer, List<FileResourceConsumer> consumers) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
shutdown
public void shutdown()
Description copied from class:ConsumersManager
This is called by BatchProcess immediately before closing. Beware! Some of the consumers may have hung or may not have completed.- Overrides:
shutdown
in classConsumersManager
-
-