Has returns true if the cache contains the given key.
(key string)
| 162 | // of tracked entry sizes. |
| 163 | maxBytes int64 |
| 164 | maxEntries int |
| 165 | hardMaxEntries int |
| 166 | currentSize int64 |
| 167 | maxPercent int |
| 168 | blockSize int64 |
| 169 | space capacityProvider |
| 170 | |
| 171 | // Consecutive above-current samples are required before raising capacity. |
| 172 | // Reductions apply immediately to restore the filesystem reserve. |
| 173 | recoveryCandidate int64 |
| 174 | recoverySamples int |