(ns onyx.types)

(defrecord Leaf [message id acker-id completion-id ack-val ack-vals route routes hash-group])

(defn leaf 
  ([message] 
     (->Leaf message nil nil nil nil nil nil nil nil)))

(defrecord Route [flow exclusions post-transformation action])

(defrecord Ack [id completion-id ack-val timestamp])

(defrecord Result [root leaves])

(defrecord Link [link timestamp])

(ns onyx.types)

(defrecord Leaf [message id acker-id completion-id ack-val ack-vals route routes hash-group])

(defn leaf 
  ([message] 
     (->Leaf message nil nil nil nil nil nil nil nil)))

(defrecord Route [flow exclusions post-transformation action])

(defrecord Ack [id completion-id ack-val timestamp])

(defrecord Result [root leaves])

(defrecord Link [link timestamp])

(defrecord MonitorEvent [event])
(defrecord MonitorEventLatency [event latency])
(defrecord MonitorEventLatencyBytes [event latency bytes])

Add some records for monitoring events which will improve perf
Add some records for monitoring events which
will improve perf

Deraen/onyx,KevinGreene/onyx,iperdomo/onyx,dignati/onyx,onyx-platform/onyx,ideal-knee/onyx,vijaykiran/onyx,mccraigmccraig/onyx