Package org.apache.tika.utils
Class ConcurrentUtils
java.lang.Object
org.apache.tika.utils.ConcurrentUtils
Deprecated.
This version of the Apache Tika library is deprecated. Use your own version of Apache Tika.
Utility Class for Concurrency in Tika
- Since:
- Apache Tika 1.11
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Futureexecute(ParseContext context, Runnable runnable) Deprecated.Execute a runnable using an ExecutorService from the ParseContext if possible.
-
Constructor Details
-
ConcurrentUtils
public ConcurrentUtils()Deprecated.
-
-
Method Details
-
execute
Deprecated.Execute a runnable using an ExecutorService from the ParseContext if possible. Otherwise fallback to individual threads.- Parameters:
context-runnable-- Returns:
-