Class LongSerializer

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

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

    • LongSerializer

      public LongSerializer()
      No arg constructor
    • LongSerializer

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

      Parameter is ignored as Long is a base java type.

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