Package | Description |
---|---|
org.apache.edgent.topology.spi.tester | |
org.apache.edgent.topology.tester |
Testing for a streaming topology.
|
Modifier and Type | Method and Description |
---|---|
Condition<java.lang.Boolean> |
AbstractTester.and(Condition<?>... conditions) |
Modifier and Type | Method and Description |
---|---|
Condition<java.lang.Boolean> |
AbstractTester.and(Condition<?>... conditions) |
boolean |
AbstractTester.complete(Submitter<Topology,? extends Job> submitter,
com.google.gson.JsonObject config,
Condition<?> endCondition,
long timeout,
java.util.concurrent.TimeUnit unit) |
Modifier and Type | Method and Description |
---|---|
Condition<java.lang.Boolean> |
Tester.and(Condition<?>... conditions)
Return a condition that is valid only if all of
conditions are valid. |
Condition<java.lang.Long> |
Tester.atLeastTupleCount(TStream<?> stream,
long expectedCount)
Return a condition that evaluates if
stream has submitted at
least expectedCount number of tuples. |
<T> Condition<java.util.List<T>> |
Tester.contentsUnordered(TStream<T> stream,
T... values)
Return a condition that evaluates if
stream has submitted
tuples matching values in any order. |
<T> Condition<java.util.List<T>> |
Tester.streamContents(TStream<T> stream,
T... values)
Return a condition that evaluates if
stream has submitted
tuples matching values in the same order. |
Condition<java.lang.Long> |
Tester.tupleCount(TStream<?> stream,
long expectedCount)
Return a condition that evaluates if
stream has submitted exactly
expectedCount number of tuples. |
Modifier and Type | Method and Description |
---|---|
Condition<java.lang.Boolean> |
Tester.and(Condition<?>... conditions)
Return a condition that is valid only if all of
conditions are valid. |
boolean |
Tester.complete(Submitter<Topology,? extends Job> submitter,
com.google.gson.JsonObject config,
Condition<?> endCondition,
long timeout,
java.util.concurrent.TimeUnit unit)
Submit the topology for this tester and wait for it to complete, or reach
an end condition.
|
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641