Class JavaByteBufferMarshaller
java.lang.Object
org.wildfly.clustering.marshalling.jdk.JavaByteBufferMarshaller
- All Implemented Interfaces:
org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller,org.wildfly.clustering.marshalling.spi.Marshallability,org.wildfly.clustering.marshalling.spi.Marshaller<Object,ByteBuffer>
public class JavaByteBufferMarshaller
extends Object
implements org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller
A
ByteBufferMarshaller based on Java serialization.- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller
LOGGER -
Constructor Summary
ConstructorsConstructorDescriptionJavaByteBufferMarshaller(org.wildfly.clustering.marshalling.Externalizer<ClassLoader> externalizer) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisMarshallable(Object object) readFrom(InputStream in) voidwriteTo(OutputStream out, Object object) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.marshalling.spi.ByteBufferMarshaller
read, size, write
-
Constructor Details
-
JavaByteBufferMarshaller
public JavaByteBufferMarshaller(org.wildfly.clustering.marshalling.Externalizer<ClassLoader> externalizer)
-
-
Method Details
-
isMarshallable
- Specified by:
isMarshallablein interfaceorg.wildfly.clustering.marshalling.spi.Marshallability
-
readFrom
- Specified by:
readFromin interfaceorg.wildfly.clustering.marshalling.spi.ByteBufferMarshaller- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceorg.wildfly.clustering.marshalling.spi.ByteBufferMarshaller- Throws:
IOException
-