Module: Libcouchbase::Ext::HISTOGRAMWrappers

Included in:
HISTOGRAM
Defined in:
lib/libcouchbase/ext/libcouchbase/histogram.rb

Overview

(Not documented)

Instance Method Summary collapse

Instance Method Details

#destroynil



5
6
7
# File 'lib/libcouchbase/ext/libcouchbase/histogram.rb', line 5

def destroy()
  Libcouchbase::Ext.histogram_destroy(self)
end


24
25
26
# File 'lib/libcouchbase/ext/libcouchbase/histogram.rb', line 24

def print(stream)
  Libcouchbase::Ext.histogram_print(self, stream)
end

#read(cookie, cb) ⇒ nil



18
19
20
# File 'lib/libcouchbase/ext/libcouchbase/histogram.rb', line 18

def read(cookie, cb)
  Libcouchbase::Ext.histogram_read(self, cookie, cb)
end

#record(duration) ⇒ nil



11
12
13
# File 'lib/libcouchbase/ext/libcouchbase/histogram.rb', line 11

def record(duration)
  Libcouchbase::Ext.histogram_record(self, duration)
end