public class DelayInducingInterceptor extends BaseInterceptor
Interceptor that fakes a specified amount of delay to each
search iteration so we can make sure search time limits are adhered to.directoryService, dnFactory, PWD_POLICY_STATE_ATTRIBUTE_TYPES, schemaManager| Constructor and Description |
|---|
DelayInducingInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
EntryFilteringCursor |
search(SearchOperationContext searchContext)
Filters
Partition#search( SearchOperationContext ) call. |
void |
setDelayMillis(long delayMillis) |
add, bind, compare, delete, destroy, getName, getNextInterceptor, getPrincipal, getRootDse, hasEntry, init, lookup, modify, move, moveAndRename, next, next, next, next, next, next, next, next, next, next, next, next, next, rename, unbindpublic EntryFilteringCursor search(SearchOperationContext searchContext) throws org.apache.directory.api.ldap.model.exception.LdapException
BaseInterceptorPartition#search( SearchOperationContext ) call.search in interface Interceptorsearch in class BaseInterceptororg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void setDelayMillis(long delayMillis)
Copyright © 2021. All rights reserved.