Semaphore

Semaphore is a tool class provided in Java concurrent packages, which translates as semaphores, which control the number of concurrent threads.