Examples of FieldValueCounterSink


Examples of org.springframework.xd.shell.command.fixtures.FieldValueCounterSink

  @Test
  public void testFieldValueCounterList() throws Exception {
    TailSource tailSource = newTailSource();
    tailTweets(tailSource);

    FieldValueCounterSink sink = metrics().newFieldValueCounterSink("fromUser");

    stream().create(generateStreamName(), "%s | %s", tailSource, sink);
    assertThat(sink, eventually(exists()));
  }
View Full Code Here

Examples of org.springframework.xd.shell.command.fixtures.FieldValueCounterSink

    fvcMap.put("BestNoSQL", 1d);
    fvcMap.put("SpringSource", 2d);
    TailSource tailSource = newTailSource();
    tailTweets(tailSource);

    FieldValueCounterSink sink = metrics().newFieldValueCounterSink("fromUser");
    stream().create(generateStreamName(), "%s | %s", tailSource, sink);

    Table t = sink.constructFVCDisplay(fvcMap);
    assertThat(sink, eventually(hasValue(t)));
  }
View Full Code Here

Examples of org.springframework.xd.shell.command.fixtures.FieldValueCounterSink

  public RichGaugeSink newRichGauge() {
    return remember(new RichGaugeSink(shell, randomName()));
  }

  public FieldValueCounterSink newFieldValueCounterSink(String name, String fieldName) {
    return remember(new FieldValueCounterSink(shell, name, fieldName));
  }
View Full Code Here

Examples of org.springframework.xd.shell.command.fixtures.FieldValueCounterSink

  public FieldValueCounterSink newFieldValueCounterSink(String name, String fieldName) {
    return remember(new FieldValueCounterSink(shell, name, fieldName));
  }

  public FieldValueCounterSink newFieldValueCounterSink(String fieldName) {
    return remember(new FieldValueCounterSink(shell, randomName(), fieldName));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.