SetBackend sets a key-value pair and marks it as a backend operation
(key string, value string)
| 341 | |
| 342 | // SetBackend sets a key-value pair and marks it as a backend operation |
| 343 | func (m *OpCache) SetBackend(key string, value string) { |
| 344 | m.status.Set(key, value) |
| 345 | m.backendOps.Set(key, true) |
| 346 | m.persistAndBroadcastStart(key, value, true) |
| 347 | } |
| 348 | |
| 349 | func (m *OpCache) persistAndBroadcastStart(key, value string, isBackend bool) { |
| 350 | m.mu.RLock() |
no test coverage detected