LocationCache

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total1,005 of 1,0050%124 of 1240%86862142142424
shouldRefreshEndpoints(Utils.ValueHolder)2250%260%1414484811
updateLocationCache(Iterable, Iterable, UnmodifiableList, Boolean)1360%80%55292911
getPreferredAvailableEndpoints(UnmodifiableMap, UnmodifiableList, LocationCache.OperationType, URI)1140%220%1212252511
resolveServiceEndpoint(RxDocumentServiceRequest)930%160%99141411
getEndpointByLocation(Iterable, Utils.ValueHolder, Utils.ValueHolder)800%40%33181811
clearStaleEndpointUnavailabilityInfo()610%100%66111111
isEndpointUnavailable(URI, LocationCache.OperationType)440%80%559911
LocationCache(List, URI, boolean, boolean, Configs)410%n/a11111111
getRegionName(URI, OperationType)370%60%447711
markEndpointUnavailable(URI, LocationCache.OperationType)350%n/a115511
anyEndpointsAvailable(List, LocationCache.OperationType)270%40%338811
canUseMultipleWriteLocations(RxDocumentServiceRequest)190%80%553311
getReadEndpoints()130%40%334411
getWriteEndpoints()130%40%334411
onDatabaseAccountRead(DatabaseAccount)110%n/a115511
canUseMultipleWriteLocations()100%40%331111
unavailableLocationsExpirationTimePassed()80%n/a111111
onLocationPreferenceChanged(UnmodifiableList)70%n/a112211
updateLocationCache()70%n/a112211
durationPassed(Instant, Instant, Duration)60%n/a111111
markEndpointUnavailableForRead(URI)50%n/a112211
markEndpointUnavailableForWrite(URI)50%n/a112211
areEqual(URI, URI)40%n/a111111
static {...}40%n/a111111