         (some #(= job-name (:jobName %)) @results)))
 
 (def currently-building-jobs                  (atom nil))
+(def currently-building-jobs-jenkins-response (atom nil))
+(def currently-building-jobs-cache-timestamp(atom nil))
+
 (def jobs-in-queue                            (atom nil))
-(def currently-building-jobs-jenkins-response (atom nil))
 (def jobs-in-queue-jenkins-response           (atom nil))
+(def jobs-in-queue-cache-timestamp          (atom nil))
+
 (def running-jobs                             (atom nil))
-
-(defn get-currently-building-jobs
-    []
-    @currently-building-jobs)
-
-(defn get-jobs-in-queue
-    []
-    @jobs-in-queue)
-
-(defn get-running-jobs
-    []
-    @running-jobs)
 
 (defn get-building-jobs-url
     "Construct URL used to read all jobs that are currently building."

          (reset! running-jobs
          (if (and jobs-in-queue building-jobs) (create-running-jobs-response jobs-in-queue building-jobs)))))

; REPL testing
; (require '[clojure.pprint :as pprint])
; (require '[clojure.edn])

(require '[clojure.tools.logging       :as log])

(require '[emender-jenkins.config      :as config])
(require '[emender-jenkins.time-utils  :as time-utils])
(use     '[emender-jenkins.utils])

(def results (atom nil))
