public class DirectTopology extends GraphTopology<org.apache.edgent.providers.direct.DirectTester>
DirectTopology
is a GraphTopology
that
is executed in threads in the current virtual machine.
The topology is backed by a DirectGraph
and its
execution is controlled and monitored by a EtiaoJob
.
Modifier and Type | Method and Description |
---|---|
Supplier<RuntimeServices> |
getRuntimeServiceSupplier()
Return a function that at execution time
will return a
RuntimeServices instance
a stream function can use. |
Graph |
graph()
Get the underlying graph.
|
protected org.apache.edgent.providers.direct.DirectTester |
newTester() |
events, poll, source, sourceStream
collection, generate, getName, getTester, of, strings, topology
public Graph graph()
Topology
public Supplier<RuntimeServices> getRuntimeServiceSupplier()
Topology
RuntimeServices
instance
a stream function can use.RuntimeServices
instanceprotected org.apache.edgent.providers.direct.DirectTester newTester()
newTester
in class AbstractTopology<org.apache.edgent.providers.direct.DirectTester>
Copyright © 2016 The Apache Software Foundation. All Rights Reserved - bbe71fa-20161201-1641