SourceStreamTask which exposes the
checkpoint lock as part of Public API.@Deprecated public static class StreamTaskActionExecutor.SynchronizedStreamTaskActionExecutor extends Object implements StreamTaskActionExecutor
StreamTaskActionExecutor that synchronizes every operation on the provided mutex.StreamTaskActionExecutor.SynchronizedStreamTaskActionExecutorIMMEDIATE| Constructor and Description |
|---|
SynchronizedStreamTaskActionExecutor(Object mutex)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
<R> R |
call(Callable<R> callable)
Deprecated.
|
Object |
getMutex()
Deprecated.
|
void |
run(org.apache.flink.util.function.RunnableWithException runnable)
Deprecated.
|
<E extends Throwable> |
runThrowing(org.apache.flink.util.function.ThrowingRunnable<E> runnable)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsynchronizedExecutor, synchronizedExecutorpublic SynchronizedStreamTaskActionExecutor(Object mutex)
public void run(org.apache.flink.util.function.RunnableWithException runnable)
throws Exception
run in interface StreamTaskActionExecutorExceptionpublic <E extends Throwable> void runThrowing(org.apache.flink.util.function.ThrowingRunnable<E> runnable) throws E extends Throwable
runThrowing in interface StreamTaskActionExecutorE extends Throwablepublic <R> R call(Callable<R> callable) throws Exception
call in interface StreamTaskActionExecutorExceptionpublic Object getMutex()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.