Class: Metricstore::Inserter
Instance Attribute Summary
Attributes inherited from Updater
#handle_update_result
Instance Method Summary
collapse
Methods inherited from Updater
#backlog, #healthy?, #initialize, #start!, #stop!
Instance Method Details
#insert(key, values, ttl = nil) ⇒ Object
6
7
8
|
# File 'lib/metricstore/inserter.rb', line 6
def insert(key, values, ttl=nil)
update(key, values, ttl)
end
|
#list_threshold ⇒ Object
14
15
16
|
# File 'lib/metricstore/inserter.rb', line 14
def list_threshold
@list_threshold ||= 100
end
|
#list_threshold=(threshold) ⇒ Object
10
11
12
|
# File 'lib/metricstore/inserter.rb', line 10
def list_threshold=(threshold)
@list_threshold = threshold
end
|