Class ReferenceCountingExecutableStageContextFactory
java.lang.Object
org.apache.beam.runners.fnexecution.control.ReferenceCountingExecutableStageContextFactory
- All Implemented Interfaces:
Serializable
,ExecutableStageContext.Factory
public class ReferenceCountingExecutableStageContextFactory
extends Object
implements ExecutableStageContext.Factory
ExecutableStageContext.Factory
which counts ExecutableStageContext reference for book
keeping.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Interface for creator which extends Serializable. -
Method Summary
Modifier and TypeMethodDescriptioncreate
(ReferenceCountingExecutableStageContextFactory.Creator creator, SerializableFunction<Object, Boolean> isReleaseSynchronous) Get or createExecutableStageContext
for givenJobInfo
.
-
Method Details
-
create
public static ReferenceCountingExecutableStageContextFactory create(ReferenceCountingExecutableStageContextFactory.Creator creator, SerializableFunction<Object, Boolean> isReleaseSynchronous) -
get
Description copied from interface:ExecutableStageContext.Factory
Get or createExecutableStageContext
for givenJobInfo
.- Specified by:
get
in interfaceExecutableStageContext.Factory
-