Interface ExternalIdCache

All Known Implementing Classes:
DisabledExternalIdCache, ExternalIdCacheImpl

public interface ExternalIdCache
Caches external IDs of all accounts. Note that the granularity is "revision" only, so each update will cache a new value containing all external IDs.

On each cache access the SHA1 of the refs/meta/external-ids branch is read to verify that the cache is up to date.

All returned collections are unmodifiable.

NOTE: Modules which bind ExternalIdCache by using modules other than ExternalIdCacheImpl.ExternalIdCacheBindingModule, should also provide an Optional<ExternalIdCacheImpl> binding.