Java 类org.apache.http.client.BackoffManager 实例源码

项目:remote-files-sync    文件:BackoffStrategyExec.java   
public BackoffStrategyExec(
        final ClientExecChain requestExecutor,
        final ConnectionBackoffStrategy connectionBackoffStrategy,
        final BackoffManager backoffManager) {
    super();
    Args.notNull(requestExecutor, "HTTP client request executor");
    Args.notNull(connectionBackoffStrategy, "Connection backoff strategy");
    Args.notNull(backoffManager, "Backoff manager");
    this.requestExecutor = requestExecutor;
    this.connectionBackoffStrategy = connectionBackoffStrategy;
    this.backoffManager = backoffManager;
}
项目:purecloud-iot    文件:BackoffStrategyExec.java   
public BackoffStrategyExec(
        final ClientExecChain requestExecutor,
        final ConnectionBackoffStrategy connectionBackoffStrategy,
        final BackoffManager backoffManager) {
    super();
    Args.notNull(requestExecutor, "HTTP client request executor");
    Args.notNull(connectionBackoffStrategy, "Connection backoff strategy");
    Args.notNull(backoffManager, "Backoff manager");
    this.requestExecutor = requestExecutor;
    this.connectionBackoffStrategy = connectionBackoffStrategy;
    this.backoffManager = backoffManager;
}
项目:Visit    文件:BackoffStrategyExec.java   
public BackoffStrategyExec(
        final ClientExecChain requestExecutor,
        final ConnectionBackoffStrategy connectionBackoffStrategy,
        final BackoffManager backoffManager) {
    super();
    Args.notNull(requestExecutor, "HTTP client request executor");
    Args.notNull(connectionBackoffStrategy, "Connection backoff strategy");
    Args.notNull(backoffManager, "Backoff manager");
    this.requestExecutor = requestExecutor;
    this.connectionBackoffStrategy = connectionBackoffStrategy;
    this.backoffManager = backoffManager;
}
项目:ZTLib    文件:BackoffStrategyExec.java   
public BackoffStrategyExec(
        final ClientExecChain requestExecutor,
        final ConnectionBackoffStrategy connectionBackoffStrategy,
        final BackoffManager backoffManager) {
    super();
    Args.notNull(requestExecutor, "HTTP client request executor");
    Args.notNull(connectionBackoffStrategy, "Connection backoff strategy");
    Args.notNull(backoffManager, "Backoff manager");
    this.requestExecutor = requestExecutor;
    this.connectionBackoffStrategy = connectionBackoffStrategy;
    this.backoffManager = backoffManager;
}
项目:lams    文件:AbstractHttpClient.java   
public synchronized final BackoffManager getBackoffManager() {
    return backoffManager;
}
项目:lams    文件:AbstractHttpClient.java   
public synchronized void setBackoffManager(final BackoffManager manager) {
    backoffManager = manager;
}
项目:remote-files-sync    文件:HttpClientBuilder.java   
/**
 * Assigns {@link BackoffManager} instance.
 */
public final HttpClientBuilder setBackoffManager(final BackoffManager backoffManager) {
    this.backoffManager = backoffManager;
    return this;
}
项目:purecloud-iot    文件:AbstractHttpClient.java   
public synchronized final BackoffManager getBackoffManager() {
    return backoffManager;
}
项目:purecloud-iot    文件:AbstractHttpClient.java   
public synchronized void setBackoffManager(final BackoffManager manager) {
    backoffManager = manager;
}
项目:purecloud-iot    文件:HttpClientBuilder.java   
/**
 * Assigns {@link BackoffManager} instance.
 */
public final HttpClientBuilder setBackoffManager(final BackoffManager backoffManager) {
    this.backoffManager = backoffManager;
    return this;
}
项目:purecloud-iot    文件:TestAIMDBackoffManager.java   
@Test
public void isABackoffManager() {
    assertTrue(impl instanceof BackoffManager);
}
项目:Visit    文件:HttpClientBuilder.java   
/**
 * Assigns {@link BackoffManager} instance.
 */
public final HttpClientBuilder setBackoffManager(final BackoffManager backoffManager) {
    this.backoffManager = backoffManager;
    return this;
}
项目:ZTLib    文件:HttpClientBuilder.java   
/**
 * Assigns {@link BackoffManager} instance.
 */
public final HttpClientBuilder setBackoffManager(final BackoffManager backoffManager) {
    this.backoffManager = backoffManager;
    return this;
}