diff --git a/server/src/main/java/org/opensearch/common/cache/policy/CachedQueryResult.java b/server/src/main/java/org/opensearch/common/cache/policy/CachedQueryResult.java index fa14fd6d2823f..0a98542a05bb7 100644 --- a/server/src/main/java/org/opensearch/common/cache/policy/CachedQueryResult.java +++ b/server/src/main/java/org/opensearch/common/cache/policy/CachedQueryResult.java @@ -59,6 +59,10 @@ public void writeToNoId(StreamOutput out) throws IOException { qsr.writeToNoId(out); } + /** + * A class containing information needed for all cache policies + * to decide whether to admit a given value. + */ public static class PolicyValues implements Writeable { final long tookTimeNanos; // More values can be added here as they're needed for future policies