org.apache.edgent.topology.Topology.topology()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(0.9k)|赞(0)|评价(0)|浏览(129)

本文整理了Java中org.apache.edgent.topology.Topology.topology()方法的一些代码示例,展示了Topology.topology()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Topology.topology()方法的具体详情如下:
包路径:org.apache.edgent.topology.Topology
类名称:Topology
方法名:topology

Topology.topology介绍

暂无

代码示例

代码示例来源:origin: apache/incubator-edgent

@Test
public void testDefaultName() {
  final Topology t = newTopology();
  assertSame(t, t.topology());
  assertNotNull(t.getName());
}

代码示例来源:origin: apache/incubator-edgent

@Test
public void testBasics() {
  final Topology t = newTopology("T123");
  assertEquals("T123", t.getName());
  assertSame(t, t.topology());
}

代码示例来源:origin: apache/incubator-edgent

Condition<List<String>> tcEcho = app1.getTester().streamContents(ecs, "A", "B", "C"); // Expect all tuples
Job jIot = dp.submit(iot.topology()).get();
Job jApp = dp.submit(app1.topology()).get();

相关文章