Uses of Class
org.apache.commons.lang3.concurrent.TimedSemaphore.Builder
Packages that use TimedSemaphore.Builder
Package
Description
Provides support classes for multi-threaded programming.
-
Uses of TimedSemaphore.Builder in org.apache.commons.lang3.concurrent
Methods in org.apache.commons.lang3.concurrent that return TimedSemaphore.BuilderModifier and TypeMethodDescriptionstatic TimedSemaphore.BuilderTimedSemaphore.builder()Constructs a new Builder.TimedSemaphore.Builder.setLimit(int limit) Sets the limit.TimedSemaphore.Builder.setPeriod(long period) Sets the time period.TimedSemaphore.Builder.setService(ScheduledExecutorService service) Sets the executor service.TimedSemaphore.Builder.setTimeUnit(TimeUnit timeUnit) Sets the time unit for the period.