public class RetryHandler extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static interface |
RetryHandler.Processor<T> |
| 限定符和类型 | 字段和说明 |
|---|---|
int |
kind |
com.google.common.util.concurrent.RateLimiter |
rateLimiter |
boolean |
skip404 |
| 构造器和说明 |
|---|
RetryHandler(boolean skip404,
int kind,
FileSystemStoreContext context) |
RetryHandler(boolean skip404,
com.google.common.util.concurrent.RateLimiter rateLimiter,
int kind,
FileSystemStoreContext context) |
RetryHandler(int kind,
FileSystemStoreContext context) |
RetryHandler(com.google.common.util.concurrent.RateLimiter rateLimiter,
int kind,
FileSystemStoreContext context) |
public com.google.common.util.concurrent.RateLimiter rateLimiter
public boolean skip404
public int kind
public RetryHandler(int kind,
FileSystemStoreContext context)
public RetryHandler(boolean skip404,
int kind,
FileSystemStoreContext context)
public RetryHandler(com.google.common.util.concurrent.RateLimiter rateLimiter,
int kind,
FileSystemStoreContext context)
public RetryHandler(boolean skip404,
com.google.common.util.concurrent.RateLimiter rateLimiter,
int kind,
FileSystemStoreContext context)
public <T> T retryProcess(RetryHandler.Processor<T> processor)
public void retryProcess(Runnable runnable)
Copyright © 2022. All rights reserved.