public class AccountCacheImpl extends java.lang.Object implements AccountCache
Modifier and Type | Method and Description |
---|---|
void |
evict(com.google.gerrit.reviewdb.client.Account.Id accountId) |
void |
evictByUsername(java.lang.String username) |
AccountState |
get(com.google.gerrit.reviewdb.client.Account.Id accountId) |
AccountState |
getByUsername(java.lang.String username) |
AccountState |
getIfPresent(com.google.gerrit.reviewdb.client.Account.Id accountId) |
static com.google.inject.Module |
module() |
public static com.google.inject.Module module()
public AccountState get(com.google.gerrit.reviewdb.client.Account.Id accountId)
get
in interface AccountCache
public AccountState getIfPresent(com.google.gerrit.reviewdb.client.Account.Id accountId)
getIfPresent
in interface AccountCache
public AccountState getByUsername(java.lang.String username)
getByUsername
in interface AccountCache
public void evict(com.google.gerrit.reviewdb.client.Account.Id accountId)
evict
in interface AccountCache
public void evictByUsername(java.lang.String username)
evictByUsername
in interface AccountCache