Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WALCache ¶
type WALCache struct {
// contains filtered or unexported fields
}
WALCache is a read-through cache to:
a) provide a reentrant interface b) deduplicate requests (i.e. no thundering-herd for the same WAL file) c) deliberately intollerant of scans because we know the input is monotonic d) sized to include only the walReadAhead
func (*WALCache) GetIFPresent ¶
GetIFPresent forwards to gcache.Cache's GetIFPresent().
func (*WALCache) Purge ¶
func (wc *WALCache) Purge()
Purge purges the WALCache of its cache (and all downstream caches)
Click to show internal directories.
Click to hide internal directories.