class RDB::DebugCallbacks
Public Instance Methods
end_database(database)
click to toggle source
# File lib/rdb/callbacks.rb, line 65 def end_database(database) puts "Close database #{database}." end
end_hash(key, state)
click to toggle source
# File lib/rdb/callbacks.rb, line 121 def end_hash(key, state) puts "End hash \"#{key}\"." end
end_list(key, state)
click to toggle source
# File lib/rdb/callbacks.rb, line 85 def end_list(key, state) puts "End list \"#{key}\"." end
end_rdb()
click to toggle source
# File lib/rdb/callbacks.rb, line 57 def end_rdb() puts "Close RDB file" end
end_set(key, state)
click to toggle source
# File lib/rdb/callbacks.rb, line 97 def end_set(key, state) puts "End set \"#{key}\"." end
end_sortedset(key, state)
click to toggle source
# File lib/rdb/callbacks.rb, line 109 def end_sortedset(key, state) puts "End sortedset \"#{key}\"." end
hset(key, field, value, state)
click to toggle source
# File lib/rdb/callbacks.rb, line 117 def hset(key, field, value, state) puts "HSET \"#{key}\" \"#{field}\" \"#{value}\"" end
pexpireat(key, expiration, state)
click to toggle source
# File lib/rdb/callbacks.rb, line 69 def pexpireat(key, expiration, state) puts "PEXPIREAT \"#{key}\" \"#{expiration}\"" end
rpush(key, value, state)
click to toggle source
# File lib/rdb/callbacks.rb, line 81 def rpush(key, value, state) puts "RPUSH \"#{key}\" \"#{value}\"" end
sadd(key, value, state)
click to toggle source
# File lib/rdb/callbacks.rb, line 93 def sadd(key, value, state) puts "SADD \"#{key}\" \"#{value}\"" end
set(key, value, state)
click to toggle source
# File lib/rdb/callbacks.rb, line 73 def set(key, value, state) puts "SET \"#{key}\" \"#{value}\"" end
skip_object(key, state)
click to toggle source
# File lib/rdb/callbacks.rb, line 125 def skip_object(key, state) puts "Skipping object for key #{key} of type #{state.type}" end
start_database(database)
click to toggle source
# File lib/rdb/callbacks.rb, line 61 def start_database(database) puts "Open database #{database}." end
start_hash(key, length, state)
click to toggle source
# File lib/rdb/callbacks.rb, line 113 def start_hash(key, length, state) puts "Start hash \"#{key}\" of #{length} members." end
start_list(key, length, state)
click to toggle source
# File lib/rdb/callbacks.rb, line 77 def start_list(key, length, state) puts "Start list \"#{key}\" of #{length} items." end
start_rdb(version)
click to toggle source
# File lib/rdb/callbacks.rb, line 53 def start_rdb(version) puts "Start RDB file - version #{version}" end
start_set(key, length, state)
click to toggle source
# File lib/rdb/callbacks.rb, line 89 def start_set(key, length, state) puts "Start set \"#{key}\" of #{length} members." end
start_sortedset(key, length, state)
click to toggle source
# File lib/rdb/callbacks.rb, line 101 def start_sortedset(key, length, state) puts "Start sortedset \"#{key}\" of #{length} members." end
zadd(key, score, value, state)
click to toggle source
# File lib/rdb/callbacks.rb, line 105 def zadd(key, score, value, state) puts "ZADD \"#{key}\" \"#{score}\" \"#{value}\"" end