Package com.google.gerrit.server.account
Class CachedAccountDetails.Key
java.lang.Object
com.google.gerrit.server.account.CachedAccountDetails.Key
- Enclosing class:
CachedAccountDetails
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Serializer used to read this entity from and write it to a persistent storage. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract Account.Id
Identifier of the account.static CachedAccountDetails.Key
create
(Account.Id accountId, org.eclipse.jgit.lib.ObjectId id) abstract org.eclipse.jgit.lib.ObjectId
id()
Git revision at which the account was loaded.
-
Constructor Details
-
Key
public Key()
-
-
Method Details
-
create
public static CachedAccountDetails.Key create(Account.Id accountId, org.eclipse.jgit.lib.ObjectId id) -
accountId
Identifier of the account. -
id
public abstract org.eclipse.jgit.lib.ObjectId id()Git revision at which the account was loaded. Corresponds to a revision on the account ref (refs/users/<sharded-id>
).
-