类的使用
me.hekr.iotos.softgateway.common.utils.ThreadPoolUtil.Builder
-
-
me.hekr.iotos.softgateway.common.utils中ThreadPoolUtil.Builder的使用
返回ThreadPoolUtil.Builder的me.hekr.iotos.softgateway.common.utils中的方法 修饰符和类型 方法 说明 ThreadPoolUtil.BuilderThreadPoolUtil.Builder. setCore(int core)ThreadPoolUtil.BuilderThreadPoolUtil.Builder. setCoresDynamic(int dynamic)设置core和max根据cpu核数根据cpu核数设置ThreadPoolUtil.BuilderThreadPoolUtil.Builder. setHandler(RejectedExecutionHandler handler)ThreadPoolUtil.BuilderThreadPoolUtil.Builder. setKeepAliveTime(long keepAliveTime)ThreadPoolUtil.BuilderThreadPoolUtil.Builder. setMax(int max)ThreadPoolUtil.BuilderThreadPoolUtil.Builder. setPrefix(String prefix)ThreadPoolUtil.BuilderThreadPoolUtil.Builder. setQueueSize(int queueSize)ThreadPoolUtil.BuilderThreadPoolUtil.Builder. setScheduled(boolean scheduled)ThreadPoolUtil.BuilderThreadPoolUtil.Builder. setTimeUnit(TimeUnit timeUnit)ThreadPoolUtil.BuilderThreadPoolUtil.Builder. setUncaughtExceptionHandler(Thread.UncaughtExceptionHandler uncaughtExceptionHandler)设置异常处理
-