org.infinispan.loaders.jdbm
Class JdbmSerializer
java.lang.Object
org.infinispan.loaders.jdbm.JdbmSerializer
- All Implemented Interfaces:
- Serializable, jdbm.helper.Serializer
public class JdbmSerializer
- extends Object
- implements jdbm.helper.Serializer
Uses the configured (runtime) StreamingMarshaller
of the cache.
This Serializer is thus not really serializable.
- Author:
- Elias Ross
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdbmSerializer
public JdbmSerializer(StreamingMarshaller marshaller)
- Constructs a new JdbmSerializer.
deserialize
public Object deserialize(byte[] buf)
throws IOException
- Specified by:
deserialize
in interface jdbm.helper.Serializer
- Throws:
IOException
serialize
public byte[] serialize(Object obj)
throws IOException
- Specified by:
serialize
in interface jdbm.helper.Serializer
- Throws:
IOException
Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.