public interface GroupCache
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableList<AccountGroup> |
all() |
void |
evict(AccountGroup group) |
void |
evictAfterRename(AccountGroup.NameKey oldName,
AccountGroup.NameKey newName) |
AccountGroup |
get(AccountGroup.Id groupId) |
AccountGroup |
get(AccountGroup.NameKey name) |
AccountGroup |
get(AccountGroup.UUID uuid)
Lookup a group definition by its UUID.
|
void |
onCreateGroup(AccountGroup.NameKey newGroupName)
Notify the cache that a new group was constructed.
|
AccountGroup get(AccountGroup.Id groupId)
AccountGroup get(AccountGroup.NameKey name)
AccountGroup get(AccountGroup.UUID uuid)
com.google.common.collect.ImmutableList<AccountGroup> all()
void onCreateGroup(AccountGroup.NameKey newGroupName) throws java.io.IOException
java.io.IOException
void evict(AccountGroup group) throws java.io.IOException
java.io.IOException
void evictAfterRename(AccountGroup.NameKey oldName, AccountGroup.NameKey newName) throws java.io.IOException
java.io.IOException