Class ClusterMedoidFilesSink<T>

java.lang.Object
teetime.framework.AbstractStage
teetime.framework.AbstractConsumerStage<T>
kieker.analysis.generic.clustering.ClusterMedoidFilesSink<T>
Type Parameters:
T - model type

public class ClusterMedoidFilesSink<T>
extends teetime.framework.AbstractConsumerStage<T>
This is a sink stage, that returns a JSON object, for each cluster medoid.
Since:
2.0.0
Author:
Lars Jürgensen
  • Field Summary

    Fields inherited from class teetime.framework.AbstractConsumerStage

    inputPort

    Fields inherited from class teetime.framework.AbstractStage

    logger
  • Constructor Summary

    Constructors 
    Constructor Description
    ClusterMedoidFilesSink​(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​(T model)  

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ClusterMedoidFilesSink

      public ClusterMedoidFilesSink​(java.nio.file.Path path, com.fasterxml.jackson.databind.ser.std.StdSerializer<?>... serializers)
      Create behavior model writer.
      Parameters:
      path - path fragment used for each medoid
      serializers - serializers
  • Method Details

    • execute

      protected void execute​(T model) throws java.lang.Exception
      Specified by:
      execute in class teetime.framework.AbstractConsumerStage<T>
      Throws:
      java.lang.Exception