Class DisabledExternalIdCache
- java.lang.Object
-
- com.google.gerrit.server.account.externalids.DisabledExternalIdCache
-
public class DisabledExternalIdCache extends Object
-
-
Constructor Summary
Constructors Constructor Description DisabledExternalIdCache()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method Description com.google.common.collect.ImmutableSetMultimap<Account.Id,ExternalId>
allByAccount()
com.google.common.collect.ImmutableSetMultimap<String,ExternalId>
allByEmail()
com.google.common.collect.ImmutableSet<ExternalId>
byAccount(Account.Id accountId)
com.google.common.collect.ImmutableSet<ExternalId>
byAccount(Account.Id accountId, org.eclipse.jgit.lib.ObjectId rev)
default com.google.common.collect.ImmutableSet<ExternalId>
byEmail(String email)
com.google.common.collect.ImmutableSetMultimap<String,ExternalId>
byEmails(String... emails)
static com.google.inject.Module
module()
void
onReplace(org.eclipse.jgit.lib.ObjectId oldNotesRev, org.eclipse.jgit.lib.ObjectId newNotesRev, Collection<ExternalId> toRemove, Collection<ExternalId> toAdd)
-
-
-
Method Detail
-
module
public static com.google.inject.Module module()
-
onReplace
public void onReplace(org.eclipse.jgit.lib.ObjectId oldNotesRev, org.eclipse.jgit.lib.ObjectId newNotesRev, Collection<ExternalId> toRemove, Collection<ExternalId> toAdd)
-
byAccount
public com.google.common.collect.ImmutableSet<ExternalId> byAccount(Account.Id accountId)
-
byAccount
public com.google.common.collect.ImmutableSet<ExternalId> byAccount(Account.Id accountId, org.eclipse.jgit.lib.ObjectId rev)
-
allByAccount
public com.google.common.collect.ImmutableSetMultimap<Account.Id,ExternalId> allByAccount() throws IOException
- Throws:
IOException
-
byEmails
public com.google.common.collect.ImmutableSetMultimap<String,ExternalId> byEmails(String... emails) throws IOException
- Throws:
IOException
-
allByEmail
public com.google.common.collect.ImmutableSetMultimap<String,ExternalId> allByEmail() throws IOException
- Throws:
IOException
-
byEmail
public default com.google.common.collect.ImmutableSet<ExternalId> byEmail(String email) throws IOException
- Throws:
IOException
-
-