本文整理汇总了Java中backtype.storm.transactional.ITransactionalSpout.Coordinator方法的典型用法代码示例。如果您正苦于以下问题:Java ITransactionalSpout.Coordinator方法的具体用法?Java ITransactionalSpout.Coordinator怎么用?Java ITransactionalSpout.Coordinator使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类backtype.storm.transactional.ITransactionalSpout
的用法示例。
在下文中一共展示了ITransactionalSpout.Coordinator方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getCoordinator
import backtype.storm.transactional.ITransactionalSpout; //导入方法依赖的package包/类
@Override
public ITransactionalSpout.Coordinator<Object> getCoordinator(Map conf,
TopologyContext context) {
return new Coordinator(conf, context);
}
开发者ID:zhangjunfang,项目名称:jstorm-0.9.6.3-,代码行数:6,代码来源:OpaquePartitionedTransactionalSpoutExecutor.java
示例2: getCoordinator
import backtype.storm.transactional.ITransactionalSpout; //导入方法依赖的package包/类
@Override
public ITransactionalSpout.Coordinator getCoordinator(Map conf,
TopologyContext context) {
return new Coordinator(conf, context);
}
示例3: getCoordinator
import backtype.storm.transactional.ITransactionalSpout; //导入方法依赖的package包/类
@Override
public ITransactionalSpout.Coordinator<Object> getCoordinator(Map conf, TopologyContext context) {
return new Coordinator(conf, context);
}
示例4: getCoordinator
import backtype.storm.transactional.ITransactionalSpout; //导入方法依赖的package包/类
@Override
public ITransactionalSpout.Coordinator getCoordinator(Map conf, TopologyContext context) {
return new Coordinator(conf, context);
}