Class LocalTaskQueueTestConfig.TaskCountDownLatch

java.lang.Object
java.util.concurrent.CountDownLatch
com.google.appengine.tools.development.testing.jakarta.LocalTaskQueueTestConfig.TaskCountDownLatch
Enclosing class:
LocalTaskQueueTestConfig

public static final class LocalTaskQueueTestConfig.TaskCountDownLatch extends CountDownLatch
A CountDownLatch extension that can be reset. Pass an instance of this class to
invalid @link
{@link LocalTaskQueueTestConfig#setTaskExecutionLatch)
} when you need to reuse the latch within or across tests. Only one thread at a time should ever call any of the await() or reset() methods.