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

Method Load

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

Load retrieves an entry from the cache. `ok` is true if the entry is present; otherwise it's false.

(id string)

Source from the content-addressed store, hash-verified

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}
44
45type SessionConfig struct {

Callers 9

isIdempotentMethod · 0.65
isSelectMethod · 0.65
TestProxy_UnpreparedFunction · 0.65
LoadMethod · 0.65
leastBusyConnMethod · 0.65
copyMethod · 0.65
NewQueryPlanMethod · 0.65

Implementers 2

defaultPreparedCacheproxy/proxy.go
testPrepareCacheproxycore/clientconn_test.go

Calls

no outgoing calls

Tested by 3

TestProxy_UnpreparedFunction · 0.52
LoadMethod · 0.52