Sha256: 7b08c10d905d0bd7e3a274966c228c604c2facfad6a646177039f5746d1be4bb
Contents?: true
Size: 407 Bytes
Versions: 22
Compression:
Stored size: 407 Bytes
Contents
module Stackify::Metrics class MetricsQueue < SizedQueue include MonitorMixin def initialize super(Stackify.configuration.queue_max_size) end alias :old_push :push def add_metric metric self.synchronize do self.old_push metric end end alias :old_size :size def size self.synchronize do self.old_size end end end end
Version data entries
22 entries across 22 versions & 1 rubygems