Class ClusteringFileSink<T>
java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<Clustering<T>>
kieker.analysis.generic.clustering.ClusteringFileSink<T>
- Type Parameters:
T
- cluster element type
public class ClusteringFileSink<T> extends teetime.framework.AbstractConsumerStage<Clustering<T>>
A sink stage, which returns all clusters and all noise objects. All elements of the clusters are
part of the JSON result.
- Since:
- 2.0.0
- Author:
- Lars Jürgensen
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ClusteringFileSink(java.nio.file.Path path, com.fasterxml.jackson.databind.ser.std.StdSerializer<?>... serializers)
Create behavior model writer. -
Method Summary
Modifier and Type Method Description protected void
execute(Clustering<T> clustering)
Methods inherited from class teetime.framework.AbstractConsumerStage
createInputPort, execute, getInputPort
Methods inherited from class teetime.framework.AbstractStage
abort, addInputPortRemovedListener, addOutputPortRemovedListener, compareAndSetBeingExecuted, createInputPort, createInputPort, createInputPort, createOutputPort, createOutputPort, createOutputPort, createOutputPort, declareActive, declarePassive, executeByFramework, getCurrentState, getId, getInputPorts, getOutputPorts, getOwningThread, getTerminationStrategy, isActive, isBeingExecuted, isPaused, isProducer, isStateless, onSignal, onStarting, onTerminating, onValidating, removeDynamicPort, removeDynamicPort, setPaused, setStateless, shouldBeTerminated, signalAlreadyReceived, terminateStage, toString, workCompleted
-
Constructor Details
-
ClusteringFileSink
public ClusteringFileSink(java.nio.file.Path path, com.fasterxml.jackson.databind.ser.std.StdSerializer<?>... serializers)Create behavior model writer.- Parameters:
path
- pathserializers
- serializers of typeStdSerializer
-
-
Method Details
-
execute
- Specified by:
execute
in classteetime.framework.AbstractConsumerStage<Clustering<T>>
- Throws:
java.io.IOException
-