T
- the type of the result objects to be returned by the handlerpublic interface ParallelResultHandler<T> extends ResultHandler<T>
ResultHandler
interface to allow parallel-processing of results.
If an instance of a class that implements this interface is passed to
LdapService.search()
or
LdapService.searchSmall()
then it will be called in multiple
threads simultaneously to speed up processing of results. This is only worth doing if the
processing will be slow - for example if it makes a further LDAP query. Using it for trivial
processing is likely to slow things down rather than speed them up.handle
Copyright © 2018. All rights reserved.