MCPcopy Create free account

hub / github.com/olric-data/olric / functions

Functions1,316 in github.com/olric-data/olric

MethodName
()
internal/testutil/mockfragment/mockfragment.go:54
MethodName
()
internal/kvstore/kvstore.go:174
MethodName
()
internal/cluster/partitions/partition_test.go:34
MethodNewEntry
()
internal/kvstore/kvstore.go:178
MethodNewPubSub
NewPubSub returns a new PubSub client with the given options.
client.go:289
MethodNext
Next returns true if there is more key in the iterator implementation. Otherwise, it returns false.
embedded_iterator.go:85
MethodNext
Next returns true if there is more key in the iterator implementation. Otherwise, it returns false
cluster_iterator.go:242
MethodNext
Next returns true if there are more tables to Export in the storage instance. Otherwise, it returns false.
pkg/storage/engine.go:41
MethodNext
()
internal/kvstore/transport.go:29
MethodNodeMeta
NodeMeta is used to retrieve meta-data about the current node when broadcasting an alive message. It's length is limited to the given byte size. This
internal/discovery/delegate.go:36
MethodNotifyMsg
NotifyMsg is called when a user-data message is received.
internal/discovery/delegate.go:41
MethodPipeline
Pipeline is a mechanism to realise Redis Pipeline technique. Pipelining is a technique to extremely speed up processing by packing operations to batc
pipeline.go:611
MethodPipeline
Pipeline is a mechanism to realise Redis Pipeline technique. Pipelining is a technique to extremely speed up processing by packing operations to batc
embedded_client.go:106
FunctionPipelineConcurrency
PipelineConcurrency is a PipelineOption controlling the number of concurrent goroutines.
client.go:249
MethodPut
Put queues a Put command. The parameters are identical to the DMap.Put, but it returns FuturePut to read the batched response.
pipeline.go:118
MethodPut
Put sets the value for the given key. It overwrites any previous value for that key, and it's thread-safe. The key has to be a string. value type is a
embedded_client.go:271
MethodPut
Put sets the value for the given key. It overwrites any previous value for that key, and it's thread-safe. The key has to be a string. value type is a
cluster_client.go:139
MethodPut
Put inserts a new Entry into the storage engine.
pkg/storage/engine.go:77
MethodPut
Put resets the buffer and puts it back to the pool.
internal/bufpool/bufpool.go:39
MethodPut
Put sets the value for the given key. It overwrites any previous value for that key
internal/kvstore/kvstore.go:217
MethodPut
In-memory layout for entry: KEY-LENGTH(uint8) | KEY(bytes) | TTL(uint64) | TIMESTAMP(uint64) | LASTACCESS(uint64) | VALUE-LENGTH(uint64) | VALUE(byte
internal/kvstore/table/table.go:122
MethodPutRaw
(hkey uint64, value []byte)
internal/kvstore/table/table.go:105
MethodRange
Range calls f sequentially for each key and value present in the map. If f returns false, range stops the iteration. Range may be O(N) with the number
internal/kvstore/kvstore.go:431
MethodRange
(f func(hkey uint64, e storage.Entry) bool)
internal/kvstore/table/table.go:415
MethodRange
(f func(id uint64, member discovery.Member) bool)
internal/cluster/routingtable/members.go:63
MethodRangeHKey
RangeHKey calls f sequentially for each key present in the map. If f returns false, range stops the iteration. Range may be O(N) with the number of el
internal/kvstore/kvstore.go:445
MethodRangeHKey
(f func(hkey uint64) bool)
internal/kvstore/table/table.go:428
MethodRefreshMetadata
RefreshMetadata fetches a list of available members and the latest routing table version. It also closes stale clients, if there are any. EmbeddedClie
embedded_client.go:122
MethodRefreshMetadata
RefreshMetadata fetches a list of available members and the latest routing table version. It also closes stale clients, if there are any.
client.go:307
MethodRegister
()
internal/discovery/discovery_test.go:198
MethodRegisterHandlers
()
internal/service/service.go:23
MethodRegisterHandlers
()
internal/cluster/balancer/balancer.go:230
MethodRejoin
(peers []string)
internal/discovery/discovery.go:207
MethodReset
Reset sets zero to the underlying counter.
internal/stats/stats.go:41
MethodResult
Result returns a response for the pipelined Delete command.
pipeline.go:207
MethodResult
Result returns a response for the pipelined Expire command.
pipeline.go:252
MethodResult
Result returns a response for the pipelined Incr command.
pipeline.go:294
MethodResult
Result returns a response for the pipelined Decr command.
pipeline.go:339
MethodResult
Result returns a response for the pipelined IncrByFloat command.
pipeline.go:450
MethodSanitize
Sanitize ensures the Authentication configuration is pre-processed and prepared for use, with no changes currently applied.
config/authentication.go:24
MethodSanitize
Sanitize sets default values to empty configuration variables, if it's possible.
config/dmaps.go:82
MethodScan
Scan returns an iterator to loop over the keys. Available scan options: * Count * Match
embedded_client.go:133
MethodScan
Scan returns an iterator to loop over the keys. Available scan options: * Count * Match
cluster_client.go:437
MethodScan
Scan implements an iterator. The caller starts iterating from the cursor. "count" is the number of entries that will be returned during the iteration.
pkg/storage/engine.go:123
MethodScan
(partID, cursor uint64, sc *ScanConfig)
internal/dmap/scan_handlers.go:54
MethodScan
(cursor uint64, count int, f func(e storage.Entry) bool)
internal/kvstore/kvstore.go:517
MethodScan
(cursor uint64, count int, f func(e storage.Entry) bool)
internal/kvstore/table/table.go:448
MethodScanRegexMatch
(cursor uint64, expr string, count int, f func(e storage.Entry) bool)
internal/kvstore/kvstore.go:521
MethodScanRegexMatch
(cursor uint64, expr string, count int, f func(e storage.Entry) bool)
internal/kvstore/table/table.go:472
MethodServeRESP
ServeRESP dispatches the command to the handler.
internal/server/mux.go:77
MethodServeRESP
ServeRESP calls f(w, r)
internal/server/handler.go:42
MethodSetConfig
SetConfig sets a storage engine configuration. nil can be accepted, but it depends on the implementation.
pkg/storage/engine.go:54
MethodSetConfig
(c *storage.Config)
internal/kvstore/kvstore.go:81
MethodSetConfig
(_ map[string]interface{})
internal/discovery/discovery_test.go:183
MethodSetLogger
(_ *log.Logger)
internal/kvstore/kvstore.go:114
MethodSetLogger
(_ *log.Logger)
internal/discovery/discovery_test.go:191
MethodSetNumMembersEagerly
(nr int32)
internal/cluster/routingtable/routingtable.go:138
MethodShutdown
Shutdown stops background servers and leaves the cluster.
olric.go:411
MethodShutdown
(ctx context.Context)
internal/dmap/service.go:145
MethodShutdown
(ctx context.Context)
internal/pubsub/service.go:96
MethodShutdown
Shutdown will stop any background maintenance of network activity for this memberlist, causing it to appear "dead". A leave message will not be broadc
internal/discovery/discovery.go:280
MethodShutdown
(ctx context.Context)
internal/cluster/routingtable/routingtable.go:434
MethodShutdown
(ctx context.Context)
internal/cluster/balancer/balancer.go:232
MethodShutdown
Shutdown gracefully stops the Olric server instance, releasing resources and ensuring a clean termination.
cmd/olric-server/server/server.go:102
MethodStart
Start starts background servers and joins the cluster. You still must call Shutdown method if Start function returns an early error.
olric.go:327
MethodStart
Start starts the distributed map service.
internal/dmap/service.go:132
MethodStart
()
internal/kvstore/kvstore.go:116
MethodStart
()
internal/pubsub/service.go:91
MethodStart
()
internal/discovery/discovery.go:151
MethodStart
()
internal/cluster/routingtable/routingtable.go:378
MethodStart
()
internal/cluster/balancer/balancer.go:224
MethodStart
Start launches the Olric server instance and begins listening for incoming requests and termination signals.
cmd/olric-server/server/server.go:89
MethodStats
Stats returns metrics for an online storage engine.
pkg/storage/engine.go:109
MethodStats
()
internal/dmap/fragment.go:41
MethodStats
()
internal/testutil/mockfragment/mockfragment.go:46
MethodStats
Stats is a function which provides memory allocation and garbage ratio of a storage instance.
internal/kvstore/kvstore.go:398
MethodStats
()
internal/kvstore/table/table.go:405
MethodStats
()
internal/cluster/partitions/partition_test.go:30
FunctionStorageEntryImplementation
StorageEntryImplementation sets and encoder/decoder implementation for your choice of storage engine.
client.go:125
FunctionStringToBytes
StringToBytes converts string to byte slice.
internal/util/unsafe.go:42
MethodSum64
(key []byte)
hasher/hasher.go:27
FunctionTestAuthCommandHandler_Auth_Disabled
(t *testing.T)
auth_test.go:59
FunctionTestAuthCommandHandler_WithPassword
(t *testing.T)
auth_test.go:26
FunctionTestBalance_Backup_Move
(t *testing.T)
internal/cluster/balancer/balancer_test.go:244
FunctionTestBalance_Empty_Backup_Move
(t *testing.T)
internal/cluster/balancer/balancer_test.go:211
FunctionTestBalance_Primary_Move
(t *testing.T)
internal/cluster/balancer/balancer_test.go:147
FunctionTestBufPool
(t *testing.T)
internal/bufpool/bufpool_test.go:23
FunctionTestCheckpoint
(t *testing.T)
internal/checkpoint/checkpoint_test.go:24
FunctionTestClusterClient_Decr
(t *testing.T)
cluster_client_test.go:282
FunctionTestClusterClient_Delete
(t *testing.T)
cluster_client_test.go:148
FunctionTestClusterClient_Delete_Many_Keys
(t *testing.T)
cluster_client_test.go:173
FunctionTestClusterClient_Destroy
(t *testing.T)
cluster_client_test.go:200
FunctionTestClusterClient_Expire
(t *testing.T)
cluster_client_test.go:340
FunctionTestClusterClient_Get
(t *testing.T)
cluster_client_test.go:122
FunctionTestClusterClient_GetPut
(t *testing.T)
cluster_client_test.go:314
FunctionTestClusterClient_Incr
(t *testing.T)
cluster_client_test.go:224
FunctionTestClusterClient_IncrByFloat
(t *testing.T)
cluster_client_test.go:253
FunctionTestClusterClient_LockWithTimeout
(t *testing.T)
cluster_client_test.go:434
FunctionTestClusterClient_LockWithTimeout_ErrLockNotAcquired
(t *testing.T)
cluster_client_test.go:505
FunctionTestClusterClient_LockWithTimeout_ErrNoSuchLock
(t *testing.T)
cluster_client_test.go:455
← previousnext →801–900 of 1,316, ranked by callers