public class AsyncConfig extends Object
| 构造器和说明 |
|---|
AsyncConfig() |
| 限定符和类型 | 方法和说明 |
|---|---|
static AsyncConfig |
create() |
Executor |
getExecutor() |
AsyncInterceptor |
getInterceptor() |
int |
getTimeout() |
TimeUnit |
getTimeUnit() |
void |
setExecutor(Executor executor) |
void |
setInterceptor(AsyncInterceptor interceptor) |
void |
setTimeout(int timeout) |
void |
setTimeUnit(TimeUnit timeUnit) |
public static AsyncConfig create()
public AsyncInterceptor getInterceptor()
public void setInterceptor(AsyncInterceptor interceptor)
public int getTimeout()
public void setTimeout(int timeout)
public TimeUnit getTimeUnit()
public void setTimeUnit(TimeUnit timeUnit)
public Executor getExecutor()
public void setExecutor(Executor executor)
Copyright © 2023 dromara. All rights reserved.