A serializer. Because some serialization libraries are not thread safe, this class is used to
create org.apache.spark.serializer.SerializerInstance objects that do the actual serialization and are
guaranteed to only be called from one thread at a time.
Implementations of this trait should have a zero-arg constructor or a constructor that accepts a
org.apache.spark.SparkConf as parameter. If both constructors are defined, the latter takes precedence.
A serializer. Because some serialization libraries are not thread safe, this class is used to create org.apache.spark.serializer.SerializerInstance objects that do the actual serialization and are guaranteed to only be called from one thread at a time.
Implementations of this trait should have a zero-arg constructor or a constructor that accepts a org.apache.spark.SparkConf as parameter. If both constructors are defined, the latter takes precedence.