INGESTION - Analysis result object-graph rootpublic abstract class AsyncProcessor<INGESTION> extends Object
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AsyncProcessor.Builder<INGESTION,A extends AsyncProcessor<INGESTION>> |
| Constructor and Description |
|---|
AsyncProcessor() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract UserAgentIngredients |
digest(INGESTION ingestion) |
void |
finalize() |
protected abstract CompletionStage<Optional<INGESTION>> |
ingest(String userAgent) |
CompletableFuture<UserAgentIngredients> |
process(String userAgent) |
abstract void |
teardown() |
protected abstract CompletionStage<Optional<INGESTION>> ingest(String userAgent) throws UserAgentIngestionException
UserAgentIngestionExceptionprotected abstract UserAgentIngredients digest(INGESTION ingestion) throws UserAgentDigestionException
UserAgentDigestionExceptionpublic CompletableFuture<UserAgentIngredients> process(String userAgent) throws UserAgentIngestionException, UserAgentDigestionException
public abstract void teardown()
Copyright © 2017. All rights reserved.