Class CommentContextKey

java.lang.Object
com.google.gerrit.server.comment.CommentContextKey

public abstract class CommentContextKey extends Object
An identifier of a comment that should be used to load the comment context using CommentContextCache.get(CommentContextKey), or CommentContextCache.getAll(Iterable).

The CommentContextCacheImpl implementation uses this class as the cache key, while replacing the path() field with the hashed path.

  • Constructor Details

    • CommentContextKey

      public CommentContextKey()
  • Method Details