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

Method Store

proxy/proxy.go:1001–1003  ·  view source on GitHub ↗
(id string, entry *proxycore.PreparedEntry)

Source from the content-addressed store, hash-verified

999}
1000
1001func (d defaultPreparedCache) Store(id string, entry *proxycore.PreparedEntry) {
1002 d.cache.Add(id, entry)
1003}
1004
1005func (d defaultPreparedCache) Load(id string) (entry *proxycore.PreparedEntry, ok bool) {
1006 if val, ok := d.cache.Get(id); ok {

Callers

nothing calls this directly

Calls 1

AddMethod · 0.45

Tested by

no test coverage detected