 
 (ns beehive.hive
   (:require [beehive.enums :as enums])
-  (:import (clojure.lang ILookup)))
+  (:import (clojure.lang ILookup)
+           (net.uncontended.precipice GuardRail)))
 
 (set! *warn-on-reflection* true)
 

   :error false
   :timeout false})

(defn return-nil [x] nil)

(deftype Hive
  [^net.uncontended.precipice.GuardRail guard-rail result-metrics rejected-metrics

          :rejected-metrics rejected-metrics
          :latency-metrics latency-metrics
          :backpressure backpressure})))

(defn add-bp [^net.uncontended.precipice.GuardRailBuilder builder reason->backpressure]
  (doseq [backpressure (vals reason->backpressure)]
