MCPcopy Create free account
hub / github.com/datastax/cql-proxy / Store

Method Store

proxycore/session.go:40–40  ·  view source on GitHub ↗

Store add an entry to the cache.

(id string, entry *PreparedEntry)

Source from the content-addressed store, hash-verified

38type PreparedCache interface {
39 // Store add an entry to the cache.
40 Store(id string, entry *PreparedEntry)
41 // Load retrieves an entry from the cache. `ok` is true if the entry is present; otherwise it's false.
42 Load(id string) (entry *PreparedEntry, ok bool)
43}

Callers 11

registerForEventsMethod · 0.65
TestProxy_UnpreparedFunction · 0.65
StoreMethod · 0.65
ServeMethod · 0.65
OnEventMethod · 0.65
OnEventMethod · 0.65
storeMethod · 0.65
maybeCachePreparedMethod · 0.65

Implementers 2

defaultPreparedCacheproxy/proxy.go
testPrepareCacheproxycore/clientconn_test.go

Calls

no outgoing calls

Tested by 3

TestProxy_UnpreparedFunction · 0.52
StoreMethod · 0.52