BurstCacheKey is a key for a burst cache resource. Needs to implement the one method --- String() --- used for turning the key into an LRU and LockTab key.
| 23 | // BurstCacheKey is a key for a burst cache resource. Needs to implement the one |
| 24 | // method --- String() --- used for turning the key into an LRU and LockTab key. |
| 25 | type BurstCacheKey interface { |
| 26 | String() string |
| 27 | } |
| 28 | |
| 29 | // NewBurstCache makes a new burst cache with the given size and cacheLife. |
| 30 | // The cache will be at most cacheSize items long, and items will live in there for |
no outgoing calls
no test coverage detected
searching dependent graphs…