Class DoubleSerializer

java.lang.Object
org.ehcache.impl.serialization.DoubleSerializer
All Implemented Interfaces:
org.ehcache.spi.serialization.Serializer<Double>

public class DoubleSerializer extends Object implements org.ehcache.spi.serialization.Serializer<Double>
Default Serializer for Double type. Simply writes the double value to a byte buffer.
  • Constructor Details

    • DoubleSerializer

      public DoubleSerializer()
      No arg constructor
    • DoubleSerializer

      public DoubleSerializer(ClassLoader classLoader)
      Constructor to enable this serializer as a transient one.

      Parameter is ignored as Double is a base java type.

      Parameters:
      classLoader - the classloader to use
      See Also:
      • Serializer
  • Method Details