diff options
author | gjoranv <gv@verizonmedia.com> | 2021-02-17 16:16:19 +0100 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2021-02-17 17:13:44 +0100 |
commit | da183fe82e5d9eaccf3cbf03a0751cc74851ec31 (patch) | |
tree | 70cb9d97a7d2bdd5785e7512d7f88d5823e1407e /container-core/src/main/java/com/yahoo/processing/package-info.java | |
parent | a0ae5022c689578e456eba2b5f89ac077e0b07e1 (diff) |
Add java source files from the processing module.
Diffstat (limited to 'container-core/src/main/java/com/yahoo/processing/package-info.java')
-rw-r--r-- | container-core/src/main/java/com/yahoo/processing/package-info.java | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/container-core/src/main/java/com/yahoo/processing/package-info.java b/container-core/src/main/java/com/yahoo/processing/package-info.java new file mode 100644 index 00000000000..b39272d881a --- /dev/null +++ b/container-core/src/main/java/com/yahoo/processing/package-info.java @@ -0,0 +1,22 @@ +// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. +/** + * Java library for request-response data processing. + * + * This library defines request-response processing as an operation which + * accepts a Request and produces a Response containing Data by executing + * a Chain of processing components in a single worker thread using method + * calls for chaining, i.e a synchronous processing model. + * Data for the Response may optionally be produced asynchronously. + * + * The processing model can be implemented by subtyping in frameworks defining + * a processing model (with a richer, more specific API) for a particular domain. + */ +@ExportPackage +@PublicApi package com.yahoo.processing; + +// TODO: +// - Look through all instances where we pass executor and consider if we should allow the caller to decide the thread +// - Should data listener use a typed interface rather than runnable` + +import com.yahoo.api.annotations.PublicApi; +import com.yahoo.osgi.annotation.ExportPackage; |