class CounterTree::Counter

Included Modules

Defined in:

lib/counter.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : MessagePack::Unpacker) #

[View source]
def self.new #

[View source]

Instance Method Detail

def decrement : UInt64 #

[View source]
def delete(time_from : UInt64, time_to : UInt64) : Bool #

[View source]
def find(time_from : UInt64, time_to : UInt64) : Hash(UInt64, UInt64) #

[View source]
def increment : UInt64 #

[View source]
def insert(key : UInt64, value : UInt64) : UInt64 #

[View source]
def remove(key : UInt64, value : UInt64) : UInt64 #

[View source]
def reset : Bool #

[View source]
def sum(time_from : UInt64, time_to : UInt64) : UInt64 #

[View source]
def sum : UInt64 #

[View source]
def table : Hash(UInt64, UInt64) #

[View source]
def total : UInt64 #

[View source]