Class RFC4519DirectoryMembershipsIterable
java.lang.Object
com.atlassian.crowd.directory.rfc4519.RFC4519DirectoryMembershipsIterable
- All Implemented Interfaces:
Iterable<Membership>
- Direct Known Subclasses:
RFC4519DirectoryMembershipsIterableWithFullCache
An
Iterable
over group Membership
s optimised for the case
where we already have all or some of the DNs and names of possible users and sub-groups.
Memberships are fetched while iterating (batched by the partition size)
If some dn to name mappings are missing, these are fetched in batches while iterating.-
Method Summary
Modifier and TypeMethodDescriptioniterator()
protected void
lookupMissingNames
(List<com.atlassian.crowd.directory.rfc4519.RFC4519DirectoryMembershipsIterable.MembershipHolder> memberships) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceIterable<Membership>
-
lookupMissingNames
protected void lookupMissingNames(List<com.atlassian.crowd.directory.rfc4519.RFC4519DirectoryMembershipsIterable.MembershipHolder> memberships) throws OperationFailedException - Throws:
OperationFailedException
-