Uses of Class
com.aizuda.snailjob.client.common.window.SlidingWindow.Builder
Packages that use SlidingWindow.Builder
-
Uses of SlidingWindow.Builder in com.aizuda.snailjob.client.common.window
Methods in com.aizuda.snailjob.client.common.window that return SlidingWindow.BuilderModifier and TypeMethodDescriptionstatic <T> SlidingWindow.Builder<T>SlidingWindow.Builder.newBuilder()创建一个新的构建器SlidingWindow.Builder.withDuration(long duration, ChronoUnit chronoUnit) 添加窗口期时间SlidingWindow.Builder.withListener(Listener<T> listener) 添加监听器SlidingWindow.Builder.withScheduledExecutorServiced(ScheduledExecutorService threadPoolExecutor) 添加定时调度线程池SlidingWindow.Builder.withTotalThreshold(int totalThreshold) 总量窗口期阈值SlidingWindow.Builder.withWindowTotalThreshold(int windowTotalThreshold) 窗口数量预警