public class AccountInfoCacheFactory
extends java.lang.Object
AccountInfoCache
.Modifier and Type | Class and Description |
---|---|
static interface |
AccountInfoCacheFactory.Factory |
Modifier and Type | Method and Description |
---|---|
com.google.gerrit.common.data.AccountInfoCache |
create()
Create an AccountInfoCache with the currently loaded Account entities.
|
com.google.gerrit.reviewdb.client.Account |
get(com.google.gerrit.reviewdb.client.Account.Id id) |
void |
want(com.google.gerrit.reviewdb.client.Account.Id id)
Indicate an account will be needed later on.
|
void |
want(java.lang.Iterable<com.google.gerrit.reviewdb.client.Account.Id> ids)
Indicate one or more accounts will be needed later on.
|
public void want(com.google.gerrit.reviewdb.client.Account.Id id)
id
- identity that will be needed in the future; may be null.public void want(java.lang.Iterable<com.google.gerrit.reviewdb.client.Account.Id> ids)
public com.google.gerrit.reviewdb.client.Account get(com.google.gerrit.reviewdb.client.Account.Id id)
public com.google.gerrit.common.data.AccountInfoCache create()