Update after code review comments

- Fixes #14
This commit is contained in:
Giri Dandu 2015-03-18 11:28:04 -04:00
parent e8b4c4e788
commit b8207117a6
2 changed files with 9 additions and 4 deletions

View File

@ -1,14 +1,19 @@
Default behavior
================
----------------
If clients of whoas library don't have any whoas configuration, the whoas factory will create
InMemoryQueue and SequentialHookRunner
InMemoryQueue that is a simple in memory FIFO with non blocking push and blocking pop operations and
SequentialHookRunner that has run loop around queue pop and publishes the hook requests.
Library Configuration
=====================
---------------------
The clients of whoas library can add "whoas" configuration to build queue and runner of their choice.
See the example below
whos:
----
whoas:
queueType: "com.github.lookout.whoas.Queue"
runnerType: "com.github.lookout.whoas.SequentialHookRunner"
----