Package | Description |
---|---|
com.google.common.util.concurrent.testing |
Modifier and Type | Method and Description |
---|---|
static SameThreadScheduledExecutorService |
TestingExecutors.sameThreadScheduledExecutor()
Creates a scheduled executor service that runs each task in the thread that invokes
execute/submit/schedule , as in CallerRunsPolicy . |