Package org.aksw.iguana.cc.worker
Interface HttpWorker.Config
- All Known Implementing Classes:
SPARQLProtocolWorker.Config
- Enclosing class:
- HttpWorker
public static interface HttpWorker.Config
-
Method Details
-
completionTarget
HttpWorker.CompletionTarget completionTarget() -
acceptHeader
String acceptHeader() -
number
Integer number()Returns the number of workers with this configuration that will be started.- Returns:
- the number of workers
-
parseResults
Boolean parseResults()Determines whether the results should be parsed based on the acceptHeader.- Returns:
- true if the results should be parsed, false otherwise
-
queries
QueryHandler queries() -
connection
ConnectionConfig connection() -
timeout
Duration timeout()
-