クラスの使用
com.slack.api.methods.MethodsConfig.MethodsConfigBuilder
MethodsConfig.MethodsConfigBuilderを使用しているパッケージ
-
com.slack.api.methodsでのMethodsConfig.MethodsConfigBuilderの使用
修飾子とタイプメソッド説明MethodsConfig.builder()MethodsConfig.MethodsConfigBuilder.customRateLimitResolver(MethodsCustomRateLimitResolver customRateLimitResolver) Custom handlers for adjusting rate limits.MethodsConfig.MethodsConfigBuilder.customThreadPoolSizes(Map<String, Integer> customThreadPoolSizes) Team ID -> thread pool sizeMethodsConfig.MethodsConfigBuilder.defaultThreadPoolSize(int defaultThreadPoolSize) The default thread pool size used for asynchronous API method calls.MethodsConfig.MethodsConfigBuilder.executorName(String executorName) If you need to have multiple executors in the same Slack app, name this accordingly.MethodsConfig.MethodsConfigBuilder.executorServiceProvider(ExecutorServiceProvider executorServiceProvider) MethodsConfig.MethodsConfigBuilder.maxIdleMills(int maxIdleMills) The max period to keep asynchronous API method calls idle.MethodsConfig.MethodsConfigBuilder.metricsDatastore(MetricsDatastore metricsDatastore) The metrics datastore to track the traffic associated to this executor name.MethodsConfig.MethodsConfigBuilder.statsEnabled(boolean statsEnabled)