Class InternalStreamsLifeCycleChain
- java.lang.Object
-
- io.streamthoughts.azkarra.api.streams.InternalStreamsLifeCycleChain
-
- All Implemented Interfaces:
StreamsLifecycleChain
public class InternalStreamsLifeCycleChain extends Object implements StreamsLifecycleChain
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceInternalStreamsLifeCycleChain.Callback
-
Constructor Summary
Constructors Constructor Description InternalStreamsLifeCycleChain(Iterator<StreamsLifecycleInterceptor> interceptors, InternalStreamsLifeCycleChain.Callback callback, Runnable runnable)Creates a newInternalStreamsLifeCycleChaininstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()Executes the operation on the currentKafkaStreamsinstance.
-
-
-
Constructor Detail
-
InternalStreamsLifeCycleChain
public InternalStreamsLifeCycleChain(Iterator<StreamsLifecycleInterceptor> interceptors, InternalStreamsLifeCycleChain.Callback callback, Runnable runnable)
Creates a newInternalStreamsLifeCycleChaininstance.- Parameters:
interceptors- the list ofStreamsLifecycleInterceptorinstance.callback- theInternalStreamsLifeCycleChain.Callbackto invoke on each interceptor.runnable- theRunnableto execute at the end of the chain.
-
-
Method Detail
-
execute
public void execute()
Executes the operation on the currentKafkaStreamsinstance.- Specified by:
executein interfaceStreamsLifecycleChain
-
-