Added new record: CacheRespond.

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Worker does not use cache

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Default lock signature changed

Signed-off-by: selmeci <selmeci.roman@gmail.com>
New records for client request and worker respond.
Removed old flags for caching and added new one.

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Worker does not support eTag request.
Use new record for formating client request.

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Loadbalancer use client specific value for ttl of client request. (new
client request record)

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Using new record for client request.
Client use one global cache storage.
Client don't ask for eTag value. Always use local cache if exists and is
fresh.

Signed-off-by: selmeci <selmeci.roman@gmail.com>
New one cache storage for client request.
Listener for cache object state change fresh -> stale.

Signed-off-by: selmeci <selmeci.roman@gmail.com>
queues wor load balancer are defined in macro, not in global space

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Removed unused namespaces

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Added element type service address

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Bug fix: name conflict in ClientRequest for load balancer and client

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Removed unused namespaces

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Bug fix: local name var

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Added missing libs

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Merge branch 'master-zeromq' into element-attribute-service-client

Conflicts:
	project.clj
	src/com/infones/edocu/communication/cache.clj
	src/com/infones/edocu/communication/load_balancer.clj
	src/com/infones/edocu/communication/worker.clj

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Stale item in cache is marked

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Respond from worker is transformed to clojure code and evaluate

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Worker respond with record

Signed-off-by: selmeci <selmeci.roman@gmail.com>
Merge branch 'master-zeromq' into element-attribute-service-client

Conflicts:
	src/com/infones/edocu/communication/cache.clj
	src/com/infones/edocu/communication/worker.clj

Signed-off-by: selmeci <selmeci.roman@gmail.com>