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 |
evictAll() |
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) throws java.io.IOException
evict
in interface AccountCache
java.io.IOException
public void evictAll() throws java.io.IOException
evictAll
in interface AccountCache
java.io.IOException
public void evictByUsername(java.lang.String username)
evictByUsername
in interface AccountCache