Class LayingPipe
- java.lang.Object
-
- org.processmining.specpp.supervision.piping.LayingPipe
-
public class LayingPipe extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLayingPipe.DisorderedPipeLayingstatic classLayingPipe.IncompatiblePipeLayingstatic classLayingPipe.IncompletePipeLayingstatic classLayingPipe.PipeLayingException
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapply()<O extends Observation>
LayingPipeexport(java.util.function.Consumer<Observable<O>> consumer)LayingPipegiveBackgroundThread()static LayingPipeinst()static LayingPipeinst(RegularScheduler regularScheduler, BackgroundTaskRunner backgroundTaskRunner)static voidlink(Observable<?> source, Observer<?> sink)LayingPipepipe(ObservationPipe<?,?> pipe)LayingPipeschedule(java.time.Duration interval)LayingPipesetConstantRunner(BackgroundTaskRunner backgroundTaskRunner)LayingPipesetRegularRunner(RegularScheduler regularScheduler)LayingPipesink(Observer<?> sink)LayingPipesinks(Observer<?>... sinks)LayingPipesource(Observable<?> source)LayingPipesplit(java.util.function.Consumer<LayingPipe> splitPath)voidterminalSink(Observer<?> sink)
-
-
-
Method Detail
-
inst
public static LayingPipe inst()
-
inst
public static LayingPipe inst(RegularScheduler regularScheduler, BackgroundTaskRunner backgroundTaskRunner)
-
link
public static void link(Observable<?> source, Observer<?> sink)
-
setRegularRunner
public LayingPipe setRegularRunner(RegularScheduler regularScheduler)
-
setConstantRunner
public LayingPipe setConstantRunner(BackgroundTaskRunner backgroundTaskRunner)
-
source
public LayingPipe source(Observable<?> source)
-
pipe
public LayingPipe pipe(ObservationPipe<?,?> pipe)
-
split
public LayingPipe split(java.util.function.Consumer<LayingPipe> splitPath)
-
export
public <O extends Observation> LayingPipe export(java.util.function.Consumer<Observable<O>> consumer)
-
sink
public LayingPipe sink(Observer<?> sink)
-
sinks
public LayingPipe sinks(Observer<?>... sinks)
-
terminalSink
public void terminalSink(Observer<?> sink)
-
apply
public void apply() throws LayingPipe.IncompletePipeLaying- Throws:
LayingPipe.IncompletePipeLaying
-
schedule
public LayingPipe schedule(java.time.Duration interval)
-
giveBackgroundThread
public LayingPipe giveBackgroundThread()
-
-