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

Method Store

proxycore/clientconn_test.go:482–484  ·  view source on GitHub ↗
(id string, entry *PreparedEntry)

Source from the content-addressed store, hash-verified

480}
481
482func (t *testPrepareCache) Store(id string, entry *PreparedEntry) {
483 t.cache.Store(id, entry)
484}
485
486func (t *testPrepareCache) Load(id string) (entry *PreparedEntry, ok bool) {
487 if val, ok := t.cache.Load(id); ok {

Callers 1

Calls 1

StoreMethod · 0.65

Tested by

no test coverage detected