本文整理汇总了Java中backtype.storm.transactional.ITransactionalSpout类的典型用法代码示例。如果您正苦于以下问题:Java ITransactionalSpout类的具体用法?Java ITransactionalSpout怎么用?Java ITransactionalSpout使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ITransactionalSpout类属于backtype.storm.transactional包,在下文中一共展示了ITransactionalSpout类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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: getEmitter
import backtype.storm.transactional.ITransactionalSpout; //导入依赖的package包/类
@Override
public ITransactionalSpout.Emitter getEmitter(Map conf,
TopologyContext context) {
return new Emitter(conf, context);
}
示例4: getCoordinator
import backtype.storm.transactional.ITransactionalSpout; //导入依赖的package包/类
@Override
public ITransactionalSpout.Coordinator<Object> getCoordinator(Map conf, TopologyContext context) {
return new Coordinator(conf, context);
}
示例5: getCoordinator
import backtype.storm.transactional.ITransactionalSpout; //导入依赖的package包/类
@Override
public ITransactionalSpout.Coordinator getCoordinator(Map conf, TopologyContext context) {
return new Coordinator(conf, context);
}
示例6: getEmitter
import backtype.storm.transactional.ITransactionalSpout; //导入依赖的package包/类
@Override
public ITransactionalSpout.Emitter getEmitter(Map conf, TopologyContext context) {
return new Emitter(conf, context);
}