Abstract AsyncShardFetch cache to allow restructuring for other caching strategies #12441
81.33% of diff hit (target 71.43%)
View this Pull Request on Codecov
81.33% of diff hit (target 71.43%)
Annotations
Check warning on line 315 in server/src/main/java/org/opensearch/gateway/AsyncShardFetch.java
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/AsyncShardFetch.java#L314-L315
Added lines #L314 - L315 were not covered by tests
Check warning on line 189 in server/src/main/java/org/opensearch/gateway/AsyncShardFetchCache.java
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/AsyncShardFetchCache.java#L188-L189
Added lines #L188 - L189 were not covered by tests
Check warning on line 209 in server/src/main/java/org/opensearch/gateway/AsyncShardFetchCache.java
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/AsyncShardFetchCache.java#L209
Added line #L209 was not covered by tests
Check warning on line 297 in server/src/main/java/org/opensearch/gateway/AsyncShardFetchCache.java
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/AsyncShardFetchCache.java#L296-L297
Added lines #L296 - L297 were not covered by tests
Check warning on line 309 in server/src/main/java/org/opensearch/gateway/AsyncShardFetchCache.java
codecov / codecov/patch
server/src/main/java/org/opensearch/gateway/AsyncShardFetchCache.java#L309
Added line #L309 was not covered by tests