当前位置: 首页>>代码示例>>Java>>正文


Java ListDelegate类代码示例

本文整理汇总了Java中backtype.storm.utils.ListDelegate的典型用法代码示例。如果您正苦于以下问题:Java ListDelegate类的具体用法?Java ListDelegate怎么用?Java ListDelegate使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


ListDelegate类属于backtype.storm.utils包,在下文中一共展示了ListDelegate类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: KryoValuesSerializer

import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
@SuppressWarnings("rawtypes")
public KryoValuesSerializer(Map conf) {
	_kryo = SerializationFactory.getKryo(conf);
	_delegate = new ListDelegate();
	_kryoOut = new Output(2000, 2000000000);
}
 
开发者ID:zhangjunfang,项目名称:jstorm-0.9.6.3-,代码行数:7,代码来源:KryoValuesSerializer.java

示例2: create

import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
@SuppressWarnings("rawtypes")
@Override
public Collection create(Kryo kryo, Input input, Class<Collection> type) {
	return new ListDelegate();
}
 
开发者ID:zhangjunfang,项目名称:jstorm-0.9.6.3-,代码行数:6,代码来源:ListDelegateSerializer.java

示例3: deserializeFrom

import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
public List<Object> deserializeFrom(Input input) {
	ListDelegate delegate = _kryo.readObject(input,
			ListDelegate.class);
	return delegate.getDelegate();
}
 
开发者ID:zhangjunfang,项目名称:jstorm-0.9.6.3-,代码行数:6,代码来源:KryoValuesDeserializer.java

示例4: write

import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
@Override
public void write(Kryo kryo, Output output, ListDelegate object) {
	_serializer.write(kryo, output, object);
}
 
开发者ID:zhangjunfang,项目名称:jstorm-0.9.6.3-,代码行数:5,代码来源:BlowfishTupleSerializer.java

示例5: read

import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
@Override
public ListDelegate read(Kryo kryo, Input input, Class<ListDelegate> type) {
	return (ListDelegate) _serializer.read(kryo, input, type);
}
 
开发者ID:zhangjunfang,项目名称:jstorm-0.9.6.3-,代码行数:5,代码来源:BlowfishTupleSerializer.java

示例6: KryoValuesSerializer

import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
public KryoValuesSerializer(Map conf) {
	_kryo = SerializationFactory.getKryo(conf);
	_delegate = new ListDelegate();
	_kryoOut = new Output(2000, 2000000000);
}
 
开发者ID:songtk,项目名称:learn_jstorm,代码行数:6,代码来源:KryoValuesSerializer.java

示例7: create

import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
@Override
public Collection create(Kryo kryo, Input input, Class<Collection> type) {
	return new ListDelegate();
}
 
开发者ID:songtk,项目名称:learn_jstorm,代码行数:5,代码来源:ListDelegateSerializer.java

示例8: deserializeFrom

import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
public List<Object> deserializeFrom(Input input) {
	ListDelegate delegate = (ListDelegate) _kryo.readObject(input,
			ListDelegate.class);
	return delegate.getDelegate();
}
 
开发者ID:songtk,项目名称:learn_jstorm,代码行数:6,代码来源:KryoValuesDeserializer.java

示例9: KryoValuesSerializer

import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
public KryoValuesSerializer(Map conf) {
    _kryo = SerializationFactory.getKryo(conf);
    _delegate = new ListDelegate();
    _kryoOut = new Output(2000, 2000000000);
}
 
开发者ID:kkllwww007,项目名称:jstrom,代码行数:6,代码来源:KryoValuesSerializer.java

示例10: create

import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
@Override
public Collection create(Kryo kryo, Input input, Class<Collection> type) {
    return new ListDelegate();
}
 
开发者ID:kkllwww007,项目名称:jstrom,代码行数:5,代码来源:ListDelegateSerializer.java

示例11: deserializeFrom

import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
public List<Object> deserializeFrom(Input input) {
    ListDelegate delegate = (ListDelegate) _kryo.readObject(input, ListDelegate.class);
    return delegate.getDelegate();
}
 
开发者ID:kkllwww007,项目名称:jstrom,代码行数:5,代码来源:KryoValuesDeserializer.java

示例12: write

import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
@Override
public void write(Kryo kryo, Output output, ListDelegate object) {
    _serializer.write(kryo, output, object);
}
 
开发者ID:kkllwww007,项目名称:jstrom,代码行数:5,代码来源:BlowfishTupleSerializer.java

示例13: read

import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
@Override
public ListDelegate read(Kryo kryo, Input input, Class<ListDelegate> type) {
    return (ListDelegate) _serializer.read(kryo, input, type);
}
 
开发者ID:kkllwww007,项目名称:jstrom,代码行数:5,代码来源:BlowfishTupleSerializer.java

示例14: deserializeFrom

import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
public List<Object> deserializeFrom(Input input) {
	ListDelegate delegate = (ListDelegate) _kryo.readObject(input, ListDelegate.class);
return delegate.getDelegate();
}
 
开发者ID:metamx,项目名称:incubator-storm,代码行数:5,代码来源:KryoValuesDeserializer.java

示例15: read

import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
@Override
public ListDelegate read(Kryo kryo, Input input, Class<ListDelegate> type) {
    return (ListDelegate)_serializer.read(kryo, input, type);
}
 
开发者ID:metamx,项目名称:incubator-storm,代码行数:5,代码来源:BlowfishTupleSerializer.java


注:本文中的backtype.storm.utils.ListDelegate类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。