Improve Javadoc

This commit is contained in:
baislsl
2018-02-19 22:01:14 +08:00
parent d78434fed8
commit 991ba320a6
30 changed files with 88 additions and 80 deletions
caching/src/main/java/com/iluwatar/caching
dao/src/main/java/com/iluwatar/dao
data-bus/src/main/java/com/iluwatar/databus
event-driven-architecture/src/main/java/com/iluwatar/eda
factory-kit/src/main/java/com/iluwatar/factorykit
feature-toggle/src/main/java/com/iluwatar/featuretoggle
guarded-suspension/src/main/java/com/iluwatar/guarded/suspension
half-sync-half-async/src/main/java/com/iluwatar/halfsynchalfasync
hexagonal/src/main/java/com/iluwatar/hexagonal
naked-objects/webapp/src/main/java/domainapp/webapp
observer/src/main/java/com/iluwatar/observer/generic
reactor/src/main/java/com/iluwatar/reactor
reader-writer-lock/src/main/java/com/iluwatar/reader/writer/lock
resource-acquisition-is-initialization/src/main/java/com/iluwatar/resource/acquisition/is/initialization
service-locator/src/main/java/com/iluwatar/servicelocator
singleton/src/main/java/com/iluwatar/singleton
step-builder/src/main/java/com/iluwatar/stepbuilder
thread-pool/src/main/java/com/iluwatar/threadpool
throttling/src/main/java/com/iluwatar/throttling
value-object/src
main
java
com
iluwatar
value
test
java
com
iluwatar

@@ -33,31 +33,31 @@ import java.util.concurrent.LinkedBlockingQueue;
* {@link AsyncTask} and {@link AsynchronousService}.
*
* <p>
* <i>PROBLEM</i> <br/>
* <i>PROBLEM</i> <br>
* A concurrent system have a mixture of short duration, mid duration and long duration tasks. Mid
* or long duration tasks should be performed asynchronously to meet quality of service
* requirements.
*
* <p>
* <i>INTENT</i> <br/>
* <i>INTENT</i> <br>
* The intent of this pattern is to separate the the synchronous and asynchronous processing in the
* concurrent application by introducing two intercommunicating layers - one for sync and one for
* async. This simplifies the programming without unduly affecting the performance.
*
* <p>
* <i>APPLICABILITY</i> <br/>
* <i>APPLICABILITY</i> <br>
* UNIX network subsystems - In operating systems network operations are carried out
* asynchronously with help of hardware level interrupts.<br/>
* asynchronously with help of hardware level interrupts.<br>
* CORBA - At the asynchronous layer one thread is associated with each socket that is connected
* to the client. Thread blocks waiting for CORBA requests from the client. On receiving request it
* is inserted in the queuing layer which is then picked up by synchronous layer which processes the
* request and sends response back to the client.<br/>
* request and sends response back to the client.<br>
* Android AsyncTask framework - Framework provides a way to execute long running blocking
* calls, such as downloading a file, in background threads so that the UI thread remains free to
* respond to user inputs.<br/>
* respond to user inputs.<br>
*
* <p>
* <i>IMPLEMENTATION</i> <br/>
* <i>IMPLEMENTATION</i> <br>
* The main method creates an asynchronous service which does not block the main thread while the
* task is being performed. The main thread continues its work which is similar to Async Method
* Invocation pattern. The difference between them is that there is a queuing layer between