パッケージ com.slack.api.methods
クラス MethodsConfig.MethodsConfigBuilder
java.lang.Object
com.slack.api.methods.MethodsConfig.MethodsConfigBuilder
-
メソッドの概要
修飾子とタイプメソッド説明build()customRateLimitResolver(MethodsCustomRateLimitResolver customRateLimitResolver) Custom handlers for adjusting rate limits.customThreadPoolSizes(Map<String, Integer> customThreadPoolSizes) Team ID -> thread pool sizedefaultThreadPoolSize(int defaultThreadPoolSize) The default thread pool size used for asynchronous API method calls.executorName(String executorName) If you need to have multiple executors in the same Slack app, name this accordingly.executorServiceProvider(ExecutorServiceProvider executorServiceProvider) maxIdleMills(int maxIdleMills) The max period to keep asynchronous API method calls idle.metricsDatastore(MetricsDatastore metricsDatastore) The metrics datastore to track the traffic associated to this executor name.statsEnabled(boolean statsEnabled) toString()
-
メソッドの詳細
-
statsEnabled
- 戻り値:
this.
-
executorName
If you need to have multiple executors in the same Slack app, name this accordingly.- 戻り値:
this.
-
maxIdleMills
The max period to keep asynchronous API method calls idle.- 戻り値:
this.
-
defaultThreadPoolSize
The default thread pool size used for asynchronous API method calls.- 戻り値:
this.
-
executorServiceProvider
public MethodsConfig.MethodsConfigBuilder executorServiceProvider(ExecutorServiceProvider executorServiceProvider) - 戻り値:
this.
-
customThreadPoolSizes
public MethodsConfig.MethodsConfigBuilder customThreadPoolSizes(Map<String, Integer> customThreadPoolSizes) Team ID -> thread pool size- 戻り値:
this.
-
metricsDatastore
The metrics datastore to track the traffic associated to this executor name.- 戻り値:
this.
-
customRateLimitResolver
public MethodsConfig.MethodsConfigBuilder customRateLimitResolver(MethodsCustomRateLimitResolver customRateLimitResolver) Custom handlers for adjusting rate limits.- 戻り値:
this.
-
build
-
toString
-