Package org.aksw.iguana.cc.worker
Class HttpWorker
java.lang.Object
org.aksw.iguana.cc.worker.HttpWorker
- Direct Known Subclasses:
SPARQLProtocolWorker
Interface for the Worker Thread used in the
Stresstest
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic interface
static interface
static final record
static final record
static final record
static final record
-
Field Summary
Modifier and TypeFieldDescriptionprotected final HttpWorker.Config
protected final QuerySelector
protected final ResponseBodyProcessor
protected final long
-
Constructor Summary
ConstructorDescriptionHttpWorker
(long workerID, ResponseBodyProcessor responseBodyProcessor, HttpWorker.Config config) -
Method Summary
Modifier and TypeMethodDescriptionstatic String
config()
long
abstract CompletableFuture<HttpWorker.Result>
start()
-
Field Details
-
workerID
protected final long workerID -
config
-
responseBodyProcessor
-
querySelector
-
-
Constructor Details
-
HttpWorker
public HttpWorker(long workerID, ResponseBodyProcessor responseBodyProcessor, HttpWorker.Config config)
-
-
Method Details
-
basicAuth
-
start
-
config
-
getWorkerID
public long getWorkerID()
-