Package org.apache.tika.eval.app.batch
Class DBConsumersManager
java.lang.Object
org.apache.tika.batch.ConsumersManager
org.apache.tika.eval.app.batch.DBConsumersManager
-
Constructor Summary
ConstructorDescriptionDBConsumersManager
(JDBCUtil dbUtil, MimeBuffer mimeBuffer, List<FileResourceConsumer> consumers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 Details
-
DBConsumersManager
public DBConsumersManager(JDBCUtil dbUtil, MimeBuffer mimeBuffer, List<FileResourceConsumer> consumers) throws SQLException - Throws:
SQLException
-
-
Method Details
-
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
-
addErrorLogTablePair
-