Codota Logo
OutputPort
Code IndexAdd Codota to your IDE (free)

How to use
OutputPort
in
kieker.analysis.plugin.annotation

Best Java code snippets using kieker.analysis.plugin.annotation.OutputPort (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: net.kieker-monitoring/kieker

  @OutputPort(name = AnalysisThroughputFilter.OUTPUT_PORT_NAME_RELAYED_OBJECTS, eventTypes = { Object.class },
      description = "Provides each incoming object"),
  @OutputPort(name = AnalysisThroughputFilter.OUTPUT_PORT_NAME_THROUGHPUT, eventTypes = { Long.class },
      description = "Provides throughput since last timer event object")
})
origin: kieker-monitoring/kieker

  if (this.outputPorts.put(outputPort.name(), outputPort) != null) {
    this.logger.error("Two OutputPorts use the same name: {}", outputPort.name());
  Class<?>[] outTypes = outputPort.eventTypes();
  if (outTypes.length == 0) {
    outTypes = new Class<?>[] { Object.class };
  this.logger.warn("Invalid port for visualization filter detected. Port is ignored: {}", outputPort.name());
this.registeredMethods.put(outputPort.name(), new ArrayList<PluginInputPortReference>(1));
origin: net.kieker-monitoring/kieker

/**
 * {@inheritDoc}
 */
@Override
public final String[] getAllOutputPortNames() {
  final List<String> outputNames = new LinkedList<String>();
  final Plugin annotation = this.getClass().getAnnotation(Plugin.class);
  for (final OutputPort outputPort : annotation.outputPorts()) {
    outputNames.add(outputPort.name());
  }
  return outputNames.toArray(new String[outputNames.size()]);
}
origin: kieker-monitoring/kieker

if (outputPort.eventTypes().length == 0) {
  outEventTypes = new Class<?>[] { Object.class };
} else {
  outEventTypes = outputPort.eventTypes();
final String allowedOutputTypes = Arrays.toString(outputPort.eventTypes());
final String allowedInputTypes = Arrays.toString(inputPort.eventTypes());
LOGGER.warn("Output port '{}' ({}) is not compatible with input port '{}' ({}).", output, allowedOutputTypes, input, allowedInputTypes);
origin: kieker-monitoring/kieker

/**
 * {@inheritDoc}
 */
@Override
public final String[] getAllOutputPortNames() {
  final List<String> outputNames = new LinkedList<>();
  final Plugin annotation = this.getClass().getAnnotation(Plugin.class);
  for (final OutputPort outputPort : annotation.outputPorts()) {
    outputNames.add(outputPort.name());
  }
  return outputNames.toArray(new String[outputNames.size()]);
}
origin: net.kieker-monitoring/kieker

if (outputPort.eventTypes().length == 0) {
  outEventTypes = new Class<?>[] { Object.class };
} else {
  outEventTypes = outputPort.eventTypes();
final String allowedOutputTypes = Arrays.toString(outputPort.eventTypes());
final String allowedInputTypes = Arrays.toString(inputPort.eventTypes());
LOG.warn("Output port '" + output + "' (" + allowedOutputTypes + ") is not compatible with input port '" + input + "' (" + allowedInputTypes
origin: kieker-monitoring/kieker

  @OutputPort(name = AnalysisThroughputFilter.OUTPUT_PORT_NAME_RELAYED_OBJECTS, eventTypes = { Object.class },
      description = "Provides each incoming object"),
  @OutputPort(name = AnalysisThroughputFilter.OUTPUT_PORT_NAME_THROUGHPUT, eventTypes = { Long.class },
      description = "Provides throughput since last timer event object")
})
origin: net.kieker-monitoring/kieker

  if (this.outputPorts.put(outputPort.name(), outputPort) != null) {
    this.log.error("Two OutputPorts use the same name: " + outputPort.name());
  Class<?>[] outTypes = outputPort.eventTypes();
  if (outTypes.length == 0) {
    outTypes = new Class<?>[] { Object.class };
  this.log.warn("Invalid port for visualization filter detected. Port is ignored: " + outputPort.name());
this.registeredMethods.put(outputPort.name(), new ArrayList<PluginInputPortReference>(1));
origin: kieker-monitoring/kieker

} else {
  this.logger.warn("Caught exception when sending data from {}: OutputPort {} to {}'s InputPort {}", this.getClass().getName(),
      outputPort.name(), pluginInputPortReference.getPlugin().getClass().getName(),
      pluginInputPortReference.getInputPortMethod().getName(), cause);
origin: net.kieker-monitoring/kieker

final InputPort ip = m.getAnnotation(InputPort.class);
if ((ip != null) && (m.getParameterTypes().length == 1) && ip.name().equals(inputPortName)) {
  src.outputPorts.get(outputPortName).eventTypes();
  java.security.AccessController.doPrivileged(new PrivilegedAction<Object>() {
    @Override
origin: net.kieker-monitoring/kieker

    description = "A filter counting the elements flowing through this filter",
    outputPorts = {
      @OutputPort(name = CountingFilter.OUTPUT_PORT_NAME_RELAYED_EVENTS, eventTypes = { Object.class }, description = "Provides each incoming object"),
      @OutputPort(name = CountingFilter.OUTPUT_PORT_NAME_COUNT, eventTypes = { Long.class }, description = "Provides the current object count")
    })
public final class CountingFilter extends AbstractFilterPlugin {
origin: net.kieker-monitoring/kieker

this.log.warn("Caught exception when sending data from " + this.getClass().getName() + ": OutputPort " + outputPort.name()
    + " to "
    + pluginInputPortReference.getPlugin().getClass().getName() + "'s InputPort "
origin: kieker-monitoring/kieker

final InputPort ip = m.getAnnotation(InputPort.class);
if ((ip != null) && (m.getParameterTypes().length == 1) && ip.name().equals(inputPortName)) {
  src.outputPorts.get(outputPortName).eventTypes();
  java.security.AccessController.doPrivileged(new PrivilegedAction<Object>() {
    @Override
origin: kieker-monitoring/kieker

    description = "A filter counting the elements flowing through this filter",
    outputPorts = {
      @OutputPort(name = CountingFilter.OUTPUT_PORT_NAME_RELAYED_EVENTS, eventTypes = { Object.class }, description = "Provides each incoming object"),
      @OutputPort(name = CountingFilter.OUTPUT_PORT_NAME_COUNT, eventTypes = { Long.class }, description = "Provides the current object count")
    })
public final class CountingFilter extends AbstractFilterPlugin {
origin: kieker-monitoring/kieker

  @OutputPort(eventTypes = { StorableDetectionResult.class }, name = AnomalyDetectionFilter.OUTPUT_PORT_ANOMALY_SCORE_IF_ANOMALY),
  @OutputPort(eventTypes = { StorableDetectionResult.class }, name = AnomalyDetectionFilter.OUTPUT_PORT_ANOMALY_SCORE_ELSE),
  @OutputPort(eventTypes = { ExtendedStorableDetectionResult.class }, name = AnomalyDetectionFilter.OUTPUT_PORT_ALL) }, configuration = {
    @Property(name = AnomalyDetectionFilter.CONFIG_PROPERTY_NAME_THRESHOLD, defaultValue = "0.5", updateable = true) })
public class AnomalyDetectionFilter extends AbstractUpdateableFilterPlugin {
origin: net.kieker-monitoring/kieker

  @OutputPort(eventTypes = { StorableDetectionResult.class }, name = AnomalyDetectionFilter.OUTPUT_PORT_ANOMALY_SCORE_IF_ANOMALY),
  @OutputPort(eventTypes = { StorableDetectionResult.class }, name = AnomalyDetectionFilter.OUTPUT_PORT_ANOMALY_SCORE_ELSE),
  @OutputPort(eventTypes = { ExtendedStorableDetectionResult.class }, name = AnomalyDetectionFilter.OUTPUT_PORT_ALL) }, configuration = {
  @Property(name = AnomalyDetectionFilter.CONFIG_PROPERTY_NAME_THRESHOLD, defaultValue = "0.5", updateable = true) })
public class AnomalyDetectionFilter extends AbstractUpdateableFilterPlugin {
origin: net.kieker-monitoring/kieker

    outputPorts = { @OutputPort(eventTypes = { StorableDetectionResult.class }, name = AnomalyScoreCalculationFilter.OUTPUT_PORT_ANOMALY_SCORE) })
public class AnomalyScoreCalculationFilter extends AbstractFilterPlugin {
origin: kieker-monitoring/kieker

    outputPorts = { @OutputPort(eventTypes = { StorableDetectionResult.class }, name = AnomalyScoreCalculationFilter.OUTPUT_PORT_ANOMALY_SCORE) })
public class AnomalyScoreCalculationFilter extends AbstractFilterPlugin {
origin: net.kieker-monitoring/kieker

    outputPorts = @OutputPort(name = RecordConverter.OUTPUT_PORT_NAME_NDR, eventTypes = { NamedDoubleRecord.class }))
public class RecordConverter extends AbstractFilterPlugin {
origin: kieker-monitoring/kieker

    outputPorts = @OutputPort(name = RecordConverter.OUTPUT_PORT_NAME_NDR, eventTypes = { NamedDoubleRecord.class }))
public class RecordConverter extends AbstractFilterPlugin {
kieker.analysis.plugin.annotationOutputPort

Most used methods

  • <init>
  • eventTypes
  • name

Popular in Java

  • Updating database using SQL prepared statement
  • addToBackStack (FragmentTransaction)
  • onRequestPermissionsResult (Fragment)
  • notifyDataSetChanged (ArrayAdapter)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • Random (java.util)
    This class provides methods that return pseudo-random values.It is dangerous to seed Random with the
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now