public interface AccountCache
Modifier and Type | Method and Description |
---|---|
void |
evict(Account.Id accountId) |
void |
evictAll() |
void |
evictByUsername(String username) |
AccountState |
get(Account.Id accountId) |
AccountState |
getByUsername(String username) |
AccountState |
getIfPresent(Account.Id accountId) |
AccountState get(Account.Id accountId)
AccountState getIfPresent(Account.Id accountId)
AccountState getByUsername(String username)
void evict(Account.Id accountId) throws IOException
IOException
void evictByUsername(String username)
void evictAll() throws IOException
IOException