MCPcopy Create free account

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

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

MethodCheck
(hkey uint64)
internal/kvstore/table/table.go:400
MethodClose
Close stops the iteration and releases allocated resources.
embedded_iterator.go:95
MethodClose
Close closes the pipeline and frees the allocated resources. You shouldn't try to reuse a closed pipeline.
pipeline.go:596
MethodClose
Close stops background routines and frees allocated resources.
embedded_client.go:284
MethodClose
Close stops the iteration and releases allocated resources.
cluster_iterator.go:298
MethodClose
Close stops the iteration and releases allocated resources.
client.go:54
MethodClose
Close stops background routines and frees allocated resources.
cluster_client.go:399
MethodClose
Close stops an online storage engine instance. It may free some of allocated resources. A storage engine implementation should be started again, but i
pkg/storage/engine.go:134
MethodClose
Close gracefully terminates all operations and releases resources associated with the service discovery instance.
pkg/service_discovery/service_discovery.go:42
MethodClose
()
internal/dmap/fragment.go:67
MethodClose
()
internal/testutil/mockfragment/mockfragment.go:124
MethodClose
()
internal/kvstore/kvstore.go:525
MethodClose
()
internal/discovery/discovery_test.go:223
MethodClose
()
internal/cluster/partitions/partition_test.go:42
MethodCompaction
Compaction reorganizes storage tables and reclaims wasted resources.
pkg/storage/engine.go:129
MethodCompaction
()
internal/dmap/fragment.go:48
MethodCompaction
()
internal/testutil/mockfragment/mockfragment.go:113
MethodCompaction
()
internal/kvstore/compaction.go:84
MethodCompaction
()
internal/cluster/partitions/partition_test.go:50
FunctionCount
Count is the user specified the amount of work that should be done at every call in order to retrieve elements from the distributed map. This is just
client.go:138
MethodDecr
Decr queues a Decr command. The parameters are identical to the DMap.Decr, but it returns FutureDecr to read the batched response.
pipeline.go:362
MethodDecr
Decr atomically decrements the key by delta. The return value is the new value after being decremented or an error.
embedded_client.go:232
MethodDecr
Decr atomically decrements the key by delta. The return value is the new value after being decremented or an error.
cluster_client.go:240
MethodDelete
Delete queues a Delete command. The parameters are identical to the DMap.Delete, but it returns FutureDelete to read the batched response.
pipeline.go:230
MethodDelete
Delete deletes values for the given keys. Delete will not return error if key doesn't exist. It's thread-safe. It is safe to modify the contents of th
embedded_client.go:250
MethodDelete
Delete deletes values for the given keys. Delete will not return an error if the key doesn't exist. It's thread-safe. It is safe to modify the content
cluster_client.go:199
MethodDelete
Delete deletes an entry from the storage engine.
pkg/storage/engine.go:95
MethodDelete
(key string)
internal/testutil/mockfragment/mockfragment.go:70
MethodDelete
Delete deletes the value for the given key. Delete will not returns error if key doesn't exist.
internal/kvstore/kvstore.go:359
MethodDelete
Delete deletes an item from the Round-Robin scheduler.
internal/roundrobin/round_robin.go:76
MethodDelete
(id uint64)
internal/cluster/routingtable/members.go:47
MethodDeregister
()
internal/discovery/discovery_test.go:207
MethodDestroy
Destroy flushes the given DMap on the cluster. You should know that there is no global lock on DMaps. So if you call Put/PutEx and Destroy methods con
embedded_client.go:203
MethodDestroy
Destroy flushes the given DMap on the cluster. You should know that there is no global lock on DMaps. So if you call Put/PutEx and Destroy methods con
cluster_client.go:476
MethodDestroy
Destroy stops an online storage engine instance and frees allocated resources. It should not be possible to reuse a destroyed storage engine.
pkg/storage/engine.go:138
MethodDestroy
()
internal/dmap/fragment.go:58
MethodDestroy
()
internal/testutil/mockfragment/mockfragment.go:117
MethodDestroy
()
internal/kvstore/kvstore.go:529
MethodDestroy
()
internal/cluster/partitions/partition_test.go:46
MethodDiscoverPeers
()
internal/discovery/discovery_test.go:215
MethodDrop
(index int)
internal/kvstore/transport.go:33
MethodEncode
(v interface{})
internal/resp/encoder.go:61
MethodEncode
()
internal/kvstore/entry/entry.go:82
MethodEncode
()
events/cluster_events.go:37
MethodExpire
Expire queues an Expire command. The parameters are identical to the DMap.Expire, but it returns FutureExpire to read the batched response.
pipeline.go:272
MethodExpire
Expire updates the expiry for the given key. It returns ErrKeyNotFound if the DB does not contain the key. It's thread-safe.
embedded_client.go:209
MethodExpire
Expire updates the expiry for the given key. It returns ErrKeyNotFound if the DB does not contain the key. It's thread-safe.
cluster_client.go:320
MethodExport
()
internal/kvstore/transport.go:45
MethodFork
Fork creates a new KVStore instance.
internal/kvstore/kvstore.go:157
MethodGet
Get queues a Get command. The parameters are identical to the DMap.Get, but it returns FutureGet to read the batched response.
pipeline.go:185
MethodGet
Get gets the value for the given key. It returns ErrKeyNotFound if the DB does not contain the key. It's thread-safe. It is safe to modify the content
embedded_client.go:257
MethodGet
Get gets the value for the given key. It returns ErrKeyNotFound if the DB does not contain the key. It's thread-safe. It is safe to modify the content
cluster_client.go:184
MethodGet
Get reads an entry from the storage engine.
pkg/storage/engine.go:83
MethodGet
Get returns an empty buffer from the pool. It creates a new buffer, if there is no bytes.Buffer available in the pool.
internal/bufpool/bufpool.go:46
MethodGet
(key string)
internal/testutil/mockfragment/mockfragment.go:64
MethodGet
Get gets the value for the given key. It returns storage.ErrKeyNotFound if the DB does not contain the key. The returned Entry is its own copy, it is
internal/kvstore/kvstore.go:275
MethodGet
Get returns an item.
internal/roundrobin/round_robin.go:45
MethodGet
(id uint64)
internal/cluster/routingtable/members.go:39
MethodGetBroadcasts
GetBroadcasts is called when user data messages can be broadcast.
internal/discovery/delegate.go:44
MethodGetKey
GetKey gets the key for the given hkey. It returns storage.ErrKeyNotFound if the DB does not contain the key.
internal/kvstore/kvstore.go:338
MethodGetKey
(hkey uint64)
internal/kvstore/table/table.go:221
MethodGetLastAccess
(hkey uint64)
internal/kvstore/kvstore.go:316
MethodGetLastAccess
(hkey uint64)
internal/kvstore/table/table.go:242
MethodGetPut
GetPut queues a GetPut command. The parameters are identical to the DMap.GetPut, but it returns FutureGetPut to read the batched response.
pipeline.go:420
MethodGetPut
GetPut atomically sets the key to value and returns the old value stored at key. It returns nil if there is no previous value.
embedded_client.go:220
MethodGetPut
GetPut atomically sets the key to value and returns the old value stored at a key. It returns nil if there is no previous value.
cluster_client.go:260
MethodGetRaw
GetRaw extracts encoded value for the given hkey. This is useful for merging tables.
internal/kvstore/kvstore.go:252
MethodGetRaw
(hkey uint64)
internal/kvstore/table/table.go:179
MethodGetTTL
GetTTL gets the timeout for the given key. It returns storage.ErrKeyNotFound if the DB does not contain the key.
internal/kvstore/kvstore.go:296
MethodGetTTL
(hkey uint64)
internal/kvstore/table/table.go:229
MethodHandleFunc
HandleFunc registers the handler function for the given command.
internal/server/handler.go:75
MethodImport
(data []byte, f func(uint64, storage.Entry) error)
internal/kvstore/transport.go:60
MethodIncr
Incr queues an Incr command. The parameters are identical to the DMap.Incr, but it returns FutureIncr to read the batched response.
pipeline.go:317
MethodIncr
Incr atomically increments the key by delta. The return value is the new value after being incremented or an error.
embedded_client.go:238
MethodIncr
Incr atomically increments the key by delta. The return value is the new value after being incremented or an error.
cluster_client.go:220
MethodIncrByFloat
IncrByFloat queues an IncrByFloat command. The parameters are identical to the DMap.IncrByFloat, but it returns FutureIncrByFloat to read the batched
pipeline.go:474
MethodIncrByFloat
IncrByFloat atomically increments the key by delta. The return value is the new value after being incremented or an error.
embedded_client.go:243
MethodIncrByFloat
IncrByFloat atomically increments the key by delta. The return value is the new value after being incremented or an error.
cluster_client.go:300
MethodInitialize
()
internal/discovery/discovery_test.go:175
MethodKey
Key returns a key name from the distributed map.
embedded_iterator.go:90
MethodKey
Key returns a key name from the distributed map.
cluster_iterator.go:256
MethodKey
Key returns the key as string
pkg/storage/entry.go:24
MethodLease
Lease takes the duration to update the expiry for the given Lock.
embedded_client.go:45
MethodLease
Lease extends the lease of the distributed lock associated with the context for the specified duration.
cluster_client.go:418
MethodLocalState
LocalState is used for a TCP Push/Pull.
internal/discovery/delegate.go:47
MethodLock
Lock sets a lock for the given key. Acquired lock is only for the key in this dmap. It returns immediately if it acquires the lock for the given key.
embedded_client.go:166
MethodLock
Lock sets a lock for the given key. Acquired lock is only for the key in this dmap. It returns immediately if it acquires the lock for the given key.
cluster_client.go:342
MethodLock
Lock locks the mutex
internal/locker/locker.go:55
MethodLock
Lock locks a mutex with the given name. If it doesn't exist, one is created
internal/locker/locker.go:72
MethodLockWithTimeout
LockWithTimeout sets a lock for the given key. If the lock is still unreleased the end of given period of time, it automatically releases the lock. Ac
embedded_client.go:188
MethodLockWithTimeout
LockWithTimeout sets a lock for the given key. If the lock is still unreleased the end of a given period of time, it automatically releases the lock.
cluster_client.go:374
MethodMarshalBinary
()
get_response_test.go:377
MethodMergeRemoteState
MergeRemoteState is invoked after a TCP Push/Pull.
internal/discovery/delegate.go:50
MethodMove
(part *partitions.Partition, name string, owners []discovery.Member)
internal/dmap/fragment.go:76
MethodMove
(part *partitions.Partition, name string, owners []discovery.Member)
internal/testutil/mockfragment/mockfragment.go:95
MethodMove
(_ *Partition, _ string, _ []discovery.Member)
internal/cluster/partitions/partition_test.go:38
MethodName
Name exposes name of the DMap.
embedded_client.go:214
MethodName
Name exposes name of the DMap.
cluster_client.go:67
MethodName
Name returns name of the current storage engine implementation.
pkg/storage/engine.go:67
MethodName
()
internal/dmap/fragment.go:72
← previousnext →701–800 of 1,316, ranked by callers