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 interface
InternalStreamsLifeCycleChain.Callback
-
Constructor Summary
Constructors Constructor Description InternalStreamsLifeCycleChain(Iterator<StreamsLifecycleInterceptor> interceptors, InternalStreamsLifeCycleChain.Callback callback, Runnable runnable)
Creates a newInternalStreamsLifeCycleChain
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute()
Executes the operation on the currentKafkaStreams
instance.
-
-
-
Constructor Detail
-
InternalStreamsLifeCycleChain
public InternalStreamsLifeCycleChain(Iterator<StreamsLifecycleInterceptor> interceptors, InternalStreamsLifeCycleChain.Callback callback, Runnable runnable)
Creates a newInternalStreamsLifeCycleChain
instance.- Parameters:
interceptors
- the list ofStreamsLifecycleInterceptor
instance.callback
- theInternalStreamsLifeCycleChain.Callback
to invoke on each interceptor.runnable
- theRunnable
to execute at the end of the chain.
-
-
Method Detail
-
execute
public void execute()
Executes the operation on the currentKafkaStreams
instance.- Specified by:
execute
in interfaceStreamsLifecycleChain
-
-