MCPcopy Create free account

hub / github.com/alexdicianu/redis_toolkit / functions

Functions25 in github.com/alexdicianu/redis_toolkit

↓ 5 callersMethodIsLeaf
Checks if node is leaf.
report/app/src/prefixtree/prefixtree.go:98
↓ 2 callersFunctioncalculateAvg
Returns the average of a generic x integer, divided by count.
report/app/src/report/hitrate/hitrate.go:155
↓ 2 callersFunctionget_lifetime
(last_set, lifetime=0)
injector/src/injector.py:43
↓ 1 callersMethodBuildTree
Builds the trie (or prefix tree) recursively after it decomposes the key by prefix.
report/app/src/prefixtree/prefixtree.go:44
↓ 1 callersFunctionLoad
Decode Gob file.
report/app/main.go:30
↓ 1 callersMethodPopulateForHitrateReport
Executes one last pass through the finished tree. Populating the tree for running a hit rate report.
report/app/src/prefixtree/prefixtree.go:153
↓ 1 callersMethodPopulateForMemoryReport
Executes one last pass through the finished tree. Populating the tree for running a memory distribution report.
report/app/src/prefixtree/prefixtree.go:126
↓ 1 callersFunctionProgressBar
Shows visual progress in the form of a loading bar.
report/app/src/prefixtree/prefixtree.go:309
↓ 1 callersFunctionSave
Encode via Gob to file. simple way to dump an already built object to a local file.
report/app/main.go:19
↓ 1 callersMethodaddChild
Adds child nodes to the trie.
report/app/src/prefixtree/prefixtree.go:65
↓ 1 callersFunctionbuildHitrateReport
Traverses the tree on the specified level and gathers the data.
report/app/src/report/hitrate/hitrate.go:98
↓ 1 callersFunctionbuildMemoryReport
Traverses the tree on the specified level and gathers the data.
report/app/src/report/memory/memory.go:56
↓ 1 callersFunctionbuildPrefixes
Builds a list of prefixes, each of them one level deeper than its predecesor. Example: - pantheon-redis - pantheon-redis:cache_page - pantheon-redis:c
report/app/src/prefixtree/prefixtree.go:282
↓ 1 callersFunctioncalculateHitrate
Calculates the hitrate based on the (gets/(gets+sets))*100 formula.
report/app/src/report/hitrate/hitrate.go:139
↓ 1 callersFunctioncontains
(slice []string, item string)
report/app/src/prefixtree/prefixtree.go:298
↓ 1 callersMethodgetChildrenKeys
Returns a list of children keys.
report/app/src/prefixtree/prefixtree.go:85
↓ 1 callersFunctionget_op
(operation)
injector/src/injector.py:37
↓ 1 callersFunctionredisKeySize
Returns the key size of a specific key. Depending on the key's type, different commands need to be executed.
report/app/src/prefixtree/prefixtree.go:231
↓ 1 callersFunctionredis_del
()
injector/src/injector.py:30
↓ 1 callersFunctionredis_get
()
injector/src/injector.py:6
↓ 1 callersFunctionredis_set
()
injector/src/injector.py:15
MethodDumpTree
(level int)
report/app/src/prefixtree/prefixtree.go:105
FunctionRunHitrateReport
Gathers data and builds a hit rate report.
report/app/src/report/hitrate/hitrate.go:42
FunctionRunMemoryReport
Gathers data and builds a memory distribution report.
report/app/src/report/memory/memory.go:28
Functionmain
()
report/app/main.go:40