public interface ExpirableExecutor extends BaseExpirableExecutor<ExpirableExecutor>
on(java.util.concurrent.Executor)
, the expirations are
specified by chained calls. For example, to invoke some action that cancels when project is disposed, one can use
{@code ExpirableExecutor.on(AppExecutorUtil.getAppExecutorService()).expireWith(project).Modifier and Type | Method and Description |
---|---|
static ExpirableExecutor |
on(java.util.concurrent.Executor executor)
Creates constrained executor from provided executor
|
execute, expireWith, submit, submit
static ExpirableExecutor on(java.util.concurrent.Executor executor)