本文整理汇总了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);
}
示例2: create
import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
@SuppressWarnings("rawtypes")
@Override
public Collection create(Kryo kryo, Input input, Class<Collection> type) {
return new ListDelegate();
}
示例3: deserializeFrom
import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
public List<Object> deserializeFrom(Input input) {
ListDelegate delegate = _kryo.readObject(input,
ListDelegate.class);
return delegate.getDelegate();
}
示例4: write
import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
@Override
public void write(Kryo kryo, Output output, ListDelegate object) {
_serializer.write(kryo, output, object);
}
示例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);
}
示例6: KryoValuesSerializer
import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
public KryoValuesSerializer(Map conf) {
_kryo = SerializationFactory.getKryo(conf);
_delegate = new ListDelegate();
_kryoOut = new Output(2000, 2000000000);
}
示例7: create
import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
@Override
public Collection create(Kryo kryo, Input input, Class<Collection> type) {
return new ListDelegate();
}
示例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();
}
示例9: KryoValuesSerializer
import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
public KryoValuesSerializer(Map conf) {
_kryo = SerializationFactory.getKryo(conf);
_delegate = new ListDelegate();
_kryoOut = new Output(2000, 2000000000);
}
示例10: create
import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
@Override
public Collection create(Kryo kryo, Input input, Class<Collection> type) {
return new ListDelegate();
}
示例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();
}
示例12: write
import backtype.storm.utils.ListDelegate; //导入依赖的package包/类
@Override
public void write(Kryo kryo, Output output, ListDelegate object) {
_serializer.write(kryo, output, object);
}
示例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);
}
示例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();
}
示例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);
}