             (Thread/sleep thread-wait)
               (go-loop []
                 (let [  ids       (blocking-consumer work-chan) 
-                        start     (. java.lang.System (clojure.core/nanoTime)) 
+                        start     (. System (nanoTime)) 
                         _         (doall (pmap #(client/delete client-del %) ids))
-                        exec-time (with-precision 3 (/ (- (. java.lang.System (clojure.core/nanoTime)) start) 1000000.0))
+                        exec-time (with-precision 3 (/ (- (. System (nanoTime)) start) 1000000.0))
                         perf      (/ (count ids) exec-time) ]
                   ;; send results to stat-chan
                   (blocking-producer stat-chan {:thread-name (.getName (Thread/currentThread)) :first_id (first ids) :time exec-time :perf perf})

(defn uuid
  "Returns a new java.util.UUID as string" 
  []
  (str (java.util.UUID/randomUUID)))

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


    ;[narrator.query         :as narr-query  ]
    )
  (:import 
    [java.io File]
    [java.util UUID]
    [clojure.lang PersistentHashMap PersistentArrayMap]
    [clojure.core.async.impl.channels ManyToManyChannel]
    [couchbase_clj.client CouchbaseCljClient])
  (:gen-class))

;; HELPERS
