Package com.google.gerrit.server.comment
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 usingCommentContextCache.get(CommentContextKey), orCommentContextCache.getAll(Iterable).The
CommentContextCacheImplimplementation uses this class as the cache key, while replacing thepath()field with the hashed path.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCommentContextKey.Builderstatic classCommentContextKey.Serializer
-
Constructor Summary
Constructors Constructor Description CommentContextKey()
-
-
-
Method Detail
-
builder
public static CommentContextKey.Builder builder()
-
-