public class DelayInducingInterceptor
extends org.apache.directory.server.core.api.interceptor.BaseInterceptor
Interceptor that fakes a specified amount of delay to each
search iteration so we can make sure search time limits are adhered to.| Constructor and Description |
|---|
DelayInducingInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
org.apache.directory.server.core.api.filtering.EntryFilteringCursor |
search(org.apache.directory.server.core.api.interceptor.context.SearchOperationContext searchContext) |
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 org.apache.directory.server.core.api.filtering.EntryFilteringCursor search(org.apache.directory.server.core.api.interceptor.context.SearchOperationContext searchContext)
throws org.apache.directory.api.ldap.model.exception.LdapException
search in interface org.apache.directory.server.core.api.interceptor.Interceptorsearch in class org.apache.directory.server.core.api.interceptor.BaseInterceptororg.apache.directory.api.ldap.model.exception.LdapExceptionpublic void setDelayMillis(long delayMillis)
Copyright © 2003–2017 The Apache Software Foundation. All rights reserved.