Package org.apache.tika.batch.fs
Class FSConsumersManager
- java.lang.Object
-
- org.apache.tika.batch.ConsumersManager
-
- org.apache.tika.batch.fs.FSConsumersManager
-
public class FSConsumersManager extends ConsumersManager
-
-
Constructor Summary
Constructors Constructor Description FSConsumersManager(List<FileResourceConsumer> consumers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
This is called by BatchProcess before submitting the threadsvoid
shutdown()
This is called by BatchProcess immediately before closing.-
Methods inherited from class org.apache.tika.batch.ConsumersManager
getConsumers, getConsumersManagerMaxMillis, setConsumersManagerMaxMillis
-
-
-
-
Constructor Detail
-
FSConsumersManager
public FSConsumersManager(List<FileResourceConsumer> consumers)
-
-
Method Detail
-
init
public void init()
Description copied from class:ConsumersManager
This is called by BatchProcess before submitting the threads- Overrides:
init
in classConsumersManager
-
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
-
-