Class StreamTaskActionExecutor.SynchronizedStreamTaskActionExecutor
- java.lang.Object
-
- org.apache.flink.streaming.runtime.tasks.StreamTaskActionExecutor.SynchronizedStreamTaskActionExecutor
-
- All Implemented Interfaces:
StreamTaskActionExecutor
- Enclosing interface:
- StreamTaskActionExecutor
@Deprecated public static class StreamTaskActionExecutor.SynchronizedStreamTaskActionExecutor extends Object implements StreamTaskActionExecutor
Deprecated.this class should only be used inSourceStreamTaskwhich exposes the checkpoint lock as part of Public API.AStreamTaskActionExecutorthat synchronizes every operation on the provided mutex.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.streaming.runtime.tasks.StreamTaskActionExecutor
StreamTaskActionExecutor.SynchronizedStreamTaskActionExecutor
-
-
Field Summary
-
Fields inherited from interface org.apache.flink.streaming.runtime.tasks.StreamTaskActionExecutor
IMMEDIATE
-
-
Constructor Summary
Constructors Constructor Description SynchronizedStreamTaskActionExecutor(Object mutex)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description <R> Rcall(Callable<R> callable)Deprecated.ObjectgetMutex()Deprecated.voidrun(org.apache.flink.util.function.RunnableWithException runnable)Deprecated.<E extends Throwable>
voidrunThrowing(org.apache.flink.util.function.ThrowingRunnable<E> runnable)Deprecated.
-
-
-
Constructor Detail
-
SynchronizedStreamTaskActionExecutor
public SynchronizedStreamTaskActionExecutor(Object mutex)
Deprecated.
-
-
Method Detail
-
run
public void run(org.apache.flink.util.function.RunnableWithException runnable) throws ExceptionDeprecated.- Specified by:
runin interfaceStreamTaskActionExecutor- Throws:
Exception
-
runThrowing
public <E extends Throwable> void runThrowing(org.apache.flink.util.function.ThrowingRunnable<E> runnable) throws E extends Throwable
Deprecated.- Specified by:
runThrowingin interfaceStreamTaskActionExecutor- Throws:
E extends Throwable
-
call
public <R> R call(Callable<R> callable) throws Exception
Deprecated.- Specified by:
callin interfaceStreamTaskActionExecutor- Throws:
Exception
-
getMutex
public Object getMutex()
Deprecated.- Returns:
- an object used for mutual exclusion of all operations that involve data and state mutation. (a.k.a. checkpoint lock).
-
-