public class RetryingContentChecker extends Object
Constructor and Description |
---|
RetryingContentChecker(RequestExecutor executor,
RequestBuilder builder) |
RetryingContentChecker(RequestExecutor executor,
RequestBuilder builder,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
assertMore(RequestExecutor executor)
Optionally perform additional tests in retry condition
|
void |
check(String path,
int expectedStatus,
int timeoutSeconds,
int intervalBetweenrequestsMsec)
Check specified path for expected status, or timeout
|
protected void |
onTimeout()
Called if a timeout occurs
|
public RetryingContentChecker(RequestExecutor executor, RequestBuilder builder)
public RetryingContentChecker(RequestExecutor executor, RequestBuilder builder, String username, String password)
public void check(String path, int expectedStatus, int timeoutSeconds, int intervalBetweenrequestsMsec)
protected boolean assertMore(RequestExecutor executor) throws Exception
Exception
protected void onTimeout()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.