Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/olric-data/olric
/ functions
Functions
1,316 in github.com/olric-data/olric
⨍
Functions
1,316
◇
Types & classes
192
↓ 3 callers
Function
ParseDestroyCommand
(cmd redcon.Command)
internal/protocol/dmap.go:509
↓ 3 callers
Function
ParseFloat
(b []byte, bitSize int)
internal/util/strconv.go:43
↓ 3 callers
Function
ParseGetCommand
(cmd redcon.Command)
internal/protocol/dmap.go:244
↓ 3 callers
Function
ParseGetEntryCommand
(cmd redcon.Command)
internal/protocol/dmap.go:295
↓ 3 callers
Function
ParseGetPutCommand
(cmd redcon.Command)
internal/protocol/dmap.go:740
↓ 3 callers
Function
ParseLengthOfPartCommand
(cmd redcon.Command)
internal/protocol/system.go:144
↓ 3 callers
Function
ParsePingCommand
(cmd redcon.Command)
internal/protocol/system.go:49
↓ 3 callers
Function
ParsePubSubChannelsCommand
(cmd redcon.Command)
internal/protocol/pubsub.go:177
↓ 3 callers
Function
ParseStatsCommand
(cmd redcon.Command)
internal/protocol/system.go:188
↓ 3 callers
Function
Pass
()
internal/checkpoint/checkpoint.go:28
↓ 3 callers
Method
Ping
Ping sends a ping message to an Olric node. Returns PONG if a message is empty, otherwise return a copy of the message as bulk. This command is often
cluster_client.go:506
↓ 3 callers
Method
Psubscribe
Psubscribe a connection to PubSub
internal/pubsub/pubsub.go:53
↓ 3 callers
Method
PubSubChannels
(ctx context.Context, pattern string)
pubsub.go:70
↓ 3 callers
Method
RoutingTable
RoutingTable returns the latest version of the routing table.
cluster_client.go:527
↓ 3 callers
Method
SetCoefficient
(cf uint64)
internal/kvstore/table/table.go:89
↓ 3 callers
Method
SetLevel
SetLevel sets verbosity level.
pkg/flog/flog.go:70
↓ 3 callers
Method
SetLocal
()
internal/protocol/dmap.go:494
↓ 3 callers
Method
SetTTL
(ttl int64)
internal/kvstore/entry/entry.go:58
↓ 3 callers
Method
SetupNetworkConfig
SetupNetworkConfig tries to find an appropriate bindIP to bind and propagate.
config/network.go:134
↓ 3 callers
Method
ShowLineNumber
ShowLineNumber enables line number support if show is bigger than zero.
pkg/flog/flog.go:78
↓ 3 callers
Method
Stats
Stats returns stats.Stats with the given options.
cluster_client.go:552
↓ 3 callers
Method
Uint
()
get_response.go:92
↓ 3 callers
Method
Value
()
internal/kvstore/entry/entry.go:54
↓ 3 callers
Method
atomicIncrDecr
(cmd string, e *env, delta int)
internal/dmap/atomic.go:48
↓ 3 callers
Function
bkey
(i int)
internal/kvstore/table/pack_test.go:27
↓ 3 callers
Method
breakLoop
(sign uint64)
internal/cluster/balancer/balancer.go:128
↓ 3 callers
Function
checkBackupOwnership
(e *environment.Environment)
internal/cluster/balancer/balancer_test.go:193
↓ 3 callers
Function
defaultRedisOptions
(c *Config)
internal/server/server_test.go:93
↓ 3 callers
Method
deleteKeys
(ctx context.Context, keys ...string)
internal/dmap/delete.go:142
↓ 3 callers
Method
deleteOnCluster
deleteOnCluster is not a thread-safe function
internal/dmap/delete.go:92
↓ 3 callers
Method
fetchRoutingTable
fetchRoutingTable updates the cluster routing table by fetching the latest version from the cluster. It initializes the partition count if it's the fi
cluster_client.go:757
↓ 3 callers
Method
janitorWorker
()
internal/dmap/janitor.go:82
↓ 3 callers
Method
load
(dc *config.DMaps, name string)
internal/dmap/config.go:35
↓ 3 callers
Method
makeGetResponse
(cmd *redis.StringCmd)
cluster_client.go:168
↓ 3 callers
Function
mapToRoutingTable
(slice []interface{})
cluster.go:33
↓ 3 callers
Function
newMockCluster
(t *testing.T)
internal/cluster/balancer/balancer_test.go:77
↓ 3 callers
Function
newServerWithPreConditionFunc
(t *testing.T, precond func(conn redcon.Conn, cmd redcon.Command) bool)
internal/server/server_test.go:50
↓ 3 callers
Method
ping
(ctx context.Context, addr, message string)
ping.go:27
↓ 3 callers
Method
removeScannedOwner
(idx int)
cluster_iterator.go:129
↓ 3 callers
Function
resetPubSubStats
()
stats_test.go:32
↓ 3 callers
Function
respEcho
(t *testing.T, s *Server)
internal/server/handler_test.go:29
↓ 3 callers
Method
shutdown
()
internal/cluster/balancer/balancer_test.go:142
↓ 3 callers
Method
tryWithInterval
(ctx context.Context, interval time.Duration, f func() error)
internal/cluster/routingtable/discovery.go:77
↓ 3 callers
Method
updateIterator
(keys []string, cursor uint64, owner string)
cluster_iterator.go:104
↓ 3 callers
Method
updateRouting
()
internal/cluster/routingtable/routingtable.go:235
↓ 3 callers
Method
validateFragmentPack
(fp *fragmentPack)
internal/dmap/balance.go:82
↓ 3 callers
Method
valueToVersion
(value storage.Entry)
internal/dmap/get.go:108
↓ 2 callers
Function
AllPassed
()
internal/checkpoint/checkpoint.go:32
↓ 2 callers
Function
CollectRuntime
CollectRuntime is a StatsOption for collecting Go runtime statistics from a cluster member.
client.go:263
↓ 2 callers
Method
Command
(ctx context.Context)
internal/protocol/pubsub.go:168
↓ 2 callers
Method
Command
(ctx context.Context)
internal/protocol/dmap.go:233
↓ 2 callers
Method
Command
(ctx context.Context)
internal/protocol/dmap.go:284
↓ 2 callers
Method
Command
(ctx context.Context)
internal/protocol/dmap.go:369
↓ 2 callers
Method
Command
(ctx context.Context)
internal/protocol/dmap.go:499
↓ 2 callers
Method
Command
(ctx context.Context)
internal/protocol/dmap.go:728
↓ 2 callers
Method
Command
(ctx context.Context)
internal/protocol/system.go:134
↓ 2 callers
Function
Decode
(data []byte)
internal/kvstore/table/pack.go:55
↓ 2 callers
Method
Destroy
Destroy flushes the given DMap on the cluster. You should know that there is no global lock on DMaps. So if you call Put, Put with EX and Destroy meth
internal/dmap/destroy.go:72
↓ 2 callers
Method
Drop
Drop drops a table with its index from the storage engine instance and frees allocated resources.
pkg/storage/engine.go:47
↓ 2 callers
Function
EX
EX sets the specified expire time, in seconds.
client.go:72
↓ 2 callers
Function
EXAT
EXAT sets the specified Unix time at which the key will expire, in seconds.
client.go:88
↓ 2 callers
Function
Encode
(t *Table)
internal/kvstore/table/pack.go:34
↓ 2 callers
Method
Encode
()
events/cluster_events.go:92
↓ 2 callers
Method
Encode
()
events/cluster_events.go:115
↓ 2 callers
Method
Float64
()
get_response.go:146
↓ 2 callers
Function
GetError
(prefix string)
internal/protocol/errors.go:55
↓ 2 callers
Function
GetPrefix
(err error)
internal/protocol/errors.go:70
↓ 2 callers
Method
GetRawKey
(hkey uint64)
internal/kvstore/table/table.go:212
↓ 2 callers
Method
Handle
Handle registers the handler for the given command. If a handler already exists for command, Handle panics.
internal/server/mux.go:62
↓ 2 callers
Method
Import
Import imports an encoded table of the storage engine implementation and calls f for every Entry item in that table.
pkg/storage/engine.go:106
↓ 2 callers
Method
Incr
Incr atomically increments key by delta. The return value is the new value after being incremented or an error.
internal/dmap/atomic.go:97
↓ 2 callers
Method
Int64
()
get_response.go:83
↓ 2 callers
Method
Length
()
internal/cluster/partitions/partition.go:81
↓ 2 callers
Function
Load
Load reads and loads Olric configuration.
config/load.go:259
↓ 2 callers
Method
MarshalBinary
()
internal/resp/encoder_test.go:17
↓ 2 callers
Function
MemberID
(name string, birthdate int64)
internal/discovery/member.go:60
↓ 2 callers
Function
New
New creates a new Olric instance, otherwise returns an error.
olric.go:195
↓ 2 callers
Function
NewAuth
NewAuth creates and returns a new Auth instance initialized with the given password.
internal/protocol/system.go:212
↓ 2 callers
Function
NewConnContext
NewConnContext initializes and returns a new instance of ConnContext for managing connection states like authentication.
internal/server/server.go:65
↓ 2 callers
Method
NewDMap
NewDMap creates and returns a new DMap instance. It checks member count quorum and bootstrapping status before creating a new DMap.
internal/dmap/dmap.go:67
↓ 2 callers
Function
NewEngineConfig
(t *testing.T)
internal/testutil/testutil.go:57
↓ 2 callers
Function
NewMemberlistConfig
NewMemberlistConfig returns a new memberlist.Config for a given environment. It takes an env parameter: local, lan and wan. local: DefaultLocalConfi
config/memberlist.go:60
↓ 2 callers
Function
NewPSubscribe
(patterns ...string)
internal/protocol/pubsub.go:125
↓ 2 callers
Function
NewPubSubNumpat
()
internal/protocol/pubsub.go:191
↓ 2 callers
Function
NewPubSubNumsub
(channels ...string)
internal/protocol/pubsub.go:213
↓ 2 callers
Function
NewPublish
(channel, message string)
internal/protocol/pubsub.go:30
↓ 2 callers
Function
NewSubscribe
(channels ...string)
internal/protocol/pubsub.go:91
↓ 2 callers
Function
PXAT
PXAT sets the specified Unix time at which the key will expire, in milliseconds.
client.go:96
↓ 2 callers
Function
ParseDecrCommand
(cmd redcon.Command)
internal/protocol/dmap.go:691
↓ 2 callers
Function
ParseDelCommand
(cmd redcon.Command)
internal/protocol/dmap.go:339
↓ 2 callers
Function
ParseExpireCommand
(cmd redcon.Command)
internal/protocol/dmap.go:465
↓ 2 callers
Function
ParseIncrByFloatCommand
(cmd redcon.Command)
internal/protocol/dmap.go:785
↓ 2 callers
Function
ParseIncrCommand
(cmd redcon.Command)
internal/protocol/dmap.go:658
↓ 2 callers
Function
ParseLockLeaseCommand
(cmd redcon.Command)
internal/protocol/dmap.go:953
↓ 2 callers
Function
ParseMoveFragmentCommand
(cmd redcon.Command)
internal/protocol/system.go:78
↓ 2 callers
Function
ParsePExpireCommand
(cmd redcon.Command)
internal/protocol/dmap.go:424
↓ 2 callers
Function
ParsePLockLeaseCommand
(cmd redcon.Command)
internal/protocol/dmap.go:997
↓ 2 callers
Function
ParsePSubscribeCommand
(cmd redcon.Command)
internal/protocol/pubsub.go:140
↓ 2 callers
Function
ParsePubSubNumpatCommand
(cmd redcon.Command)
internal/protocol/pubsub.go:201
↓ 2 callers
Function
ParsePubSubNumsubCommand
(cmd redcon.Command)
internal/protocol/pubsub.go:228
← previous
next →
301–400 of 1,316, ranked by callers