MCPcopy Create free account

hub / github.com/golang/groupcache / types & classes

Types & classes43 in github.com/golang/groupcache

↓ 6 callersFuncTypeGetterFunc
A GetterFunc implements Getter with a function.
groupcache.go:52
↓ 2 callersInterfaceKey
A Key may be any value that is comparable. See http://golang.org/ref/spec#Comparison_operators
lru/lru.go:37
↓ 1 callersTypeAliasfakePeers
groupcache_test.go:243
TypeAliasAtomicInt
An AtomicInt is an int64 to be accessed atomically.
groupcache.go:479
StructByteView
A ByteView holds an immutable view of bytes. Internally it wraps either a []byte or a string, but that detail is invisible to callers. A ByteView is
byteview.go:32
StructCache
Cache is an LRU cache. It is not safe for concurrent access.
lru/lru.go:23
StructCacheStats
CacheStats are returned by stats accessors on Group.
groupcache.go:496
StructCacheStats
testpb/test.pb.go:82
TypeAliasCacheType
CacheType represents a type of cache.
groupcache.go:372
StructEmpty
testpb/test.pb.go:226
StructGetRequest
groupcachepb/groupcache.pb.go:16
StructGetResponse
groupcachepb/groupcache.pb.go:40
InterfaceGetter
A Getter loads data for a key.
groupcache.go:41
StructGroup
A Group is a cache namespace and associated data loaded spread over a group of 1 or more machines.
groupcache.go:142
StructGroup
Group represents a class of work and forms a namespace in which units of work can be executed with duplicate suppression.
singleflight/singleflight.go:32
StructHTTPPool
HTTPPool implements PeerPicker for a pool of HTTP peers.
http.go:39
StructHTTPPoolOptions
HTTPPoolOptions are the configurations of a HTTPPool.
http.go:62
FuncTypeHash
func(data []byte) uint32
consistenthash/consistenthash.go:26
StructMap
consistenthash/consistenthash.go:28
StructNoPeers
NoPeers is an implementation of PeerPicker that never finds a peer.
peers.go:45
InterfacePeerPicker
PeerPicker is the interface that must be implemented to locate the peer that owns a specific key.
peers.go:37
InterfaceProtoGetter
ProtoGetter is the interface that must be implemented by a peer.
peers.go:31
InterfaceSink
A Sink receives data from a Get call. Implementation of Getter must call exactly one of the Set methods on success.
sinks.go:29
StructStats
Stats are per-group statistics.
groupcache.go:189
StructStatsResponse
testpb/test.pb.go:130
StructTestMessage
testpb/test.pb.go:16
StructTestRequest
testpb/test.pb.go:40
StructTestResponse
testpb/test.pb.go:66
StructallocBytesSink
sinks.go:218
StructbyteViewSink
sinks.go:113
Structcache
cache is a wrapper around an *lru.Cache that adds synchronization, makes values always be ByteView, and counts the size of all keys and values.
groupcache.go:400
Structcall
call is an in-flight or completed Do call
singleflight/singleflight.go:24
StructcomplexStruct
lru/lru_test.go:29
Structentry
lru/lru.go:39
StructfakePeer
groupcache_test.go:229
InterfaceflightGroup
flightGroup is defined as an interface which flightgroup.Group satisfies. We define this so that we may test with an alternate implementation.
groupcache.go:183
StructhttpGetter
http.go:186
StructorderedFlightGroup
orderedFlightGroup allows the caller to force the schedule of when orig.Do will be called. This is useful to serialize calls such that singleflight c
groupcache_test.go:371
StructprotoSink
sinks.go:161
StructsimpleStruct
lru/lru_test.go:24
StructstringSink
sinks.go:73
StructtruncBytesSink
sinks.go:277
InterfaceviewSetter
sinks.go:56