Package backtype.storm.serialization.types

Source Code of backtype.storm.serialization.types.ListDelegateSerializer

package backtype.storm.serialization.types;

import com.esotericsoftware.kryo.Kryo;
import com.esotericsoftware.kryo.io.Input;
import com.esotericsoftware.kryo.serializers.CollectionSerializer;
import backtype.storm.utils.ListDelegate;
import java.util.Collection;

public class ListDelegateSerializer extends CollectionSerializer {
  @Override
  public Collection create(Kryo kryo, Input input, Class<Collection> type) {
    return new ListDelegate();
  }
}
TOP

Related Classes of backtype.storm.serialization.types.ListDelegateSerializer

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.