@Internal public final class MailboxExecutorImpl extends Object implements org.apache.flink.api.common.operators.MailboxExecutor
| Constructor and Description |
|---|
MailboxExecutorImpl(TaskMailbox mailbox,
int priority,
StreamTaskActionExecutor actionExecutor) |
MailboxExecutorImpl(TaskMailbox mailbox,
int priority,
StreamTaskActionExecutor actionExecutor,
MailboxProcessor mailboxProcessor) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(org.apache.flink.util.function.ThrowingRunnable<? extends Exception> command,
String descriptionFormat,
Object... descriptionArgs) |
boolean |
isIdle() |
boolean |
tryYield() |
void |
yield() |
public MailboxExecutorImpl(@Nonnull TaskMailbox mailbox, int priority, StreamTaskActionExecutor actionExecutor)
public MailboxExecutorImpl(@Nonnull TaskMailbox mailbox, int priority, StreamTaskActionExecutor actionExecutor, MailboxProcessor mailboxProcessor)
public boolean isIdle()
public void execute(org.apache.flink.util.function.ThrowingRunnable<? extends Exception> command, String descriptionFormat, Object... descriptionArgs)
execute in interface org.apache.flink.api.common.operators.MailboxExecutorpublic void yield()
throws InterruptedException
yield in interface org.apache.flink.api.common.operators.MailboxExecutorInterruptedExceptionpublic boolean tryYield()
tryYield in interface org.apache.flink.api.common.operators.MailboxExecutorCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.