ExternalRowCountCache

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total191 of 74874%27 of 6256%256041153529
getCachedRowCountIfPresent(long, long, long)1000%140%88222211
refreshForTest(long, long, long)190%n/a113311
getInFlightLoadCountForTest()180%n/a113311
loadWithInvalidationFence(ExternalRowCountCache.RowCountKey, Executor, Supplier)154575%n/a0151501
lambda$loadWithInvalidationFence$1(CompletableFuture, ExternalRowCountCache.LoadFence, ExternalRowCountCache.LoadKey, Optional, Throwable)102268%2250%232901
getCatalogGenerationCountForTest()80%n/a112211
getCachedRowCount(long, long, long, boolean)611394%51575%51122401
loadRowCount(ExternalRowCountCache.RowCountKey, boolean)55291%1150%1211001
lambda$invalidateTable$7(ExternalRowCountCache.LoadFence)50%n/a111111
invalidateTable(long, long, long)36295%1583%1411401
isDbGenerationCurrent(long, long, long)12195%2250%230201
isCatalogGenerationCurrent(long, long)11794%2250%230201
ExternalRowCountCache(ExecutorService, Ticker, ExternalRowCountCache.RowCountCacheLoader, long)54100%n/a0101101
invalidateDb(long, long)32100%2100%020701
invalidateCatalog(long)23100%2100%020601
currentDbGeneration(long, long)14100%n/a010101
releaseCatalog(long)14100%n/a010401
lambda$loadWithInvalidationFence$0(ExternalRowCountCache.LoadFence, ExternalRowCountCache.LoadKey, Set)12100%2100%020301
lambda$removeInFlightLoad$2(ExternalRowCountCache.LoadFence, ExternalRowCountCache.LoadKey, Set)11100%2100%020201
currentCatalogGeneration(long)10100%n/a010201
ExternalRowCountCache(ExecutorService, Ticker)8100%n/a010201
removeInFlightLoad(ExternalRowCountCache.LoadKey, ExternalRowCountCache.LoadFence)8100%n/a010201
ExternalRowCountCache(ExecutorService, Ticker, ExternalRowCountCache.RowCountCacheLoader)7100%n/a010201
lambda$getCachedRowCount$6(ExternalRowCountCache.RowCountKey, Executor)7100%n/a010101
lambda$currentCatalogGeneration$3(Long)7100%n/a010101
ExternalRowCountCache(ExecutorService)5100%n/a010201
lambda$currentDbGeneration$4(ExternalRowCountCache.DatabaseKey)5100%n/a010101
lambda$getCachedRowCount$5(ExternalRowCountCache.RowCountKey)4100%n/a010101
static {...}4100%n/a010101