Class SameThreadScheduledExecutorService

java.lang.Object
java.util.concurrent.AbstractExecutorService
com.google.common.util.concurrent.testing.SameThreadScheduledExecutorService
All Implemented Interfaces:
ListeningExecutorService, ListeningScheduledExecutorService, AutoCloseable, Executor, ExecutorService, ScheduledExecutorService

class SameThreadScheduledExecutorService extends AbstractExecutorService implements ListeningScheduledExecutorService
A ScheduledExecutorService that executes all scheduled actions immediately in the calling thread.

See TestingExecutors.sameThreadScheduledExecutor() for a full list of constraints.