Class JavaByteBufferMarshaller
java.lang.Object
org.wildfly.clustering.marshalling.java.JavaByteBufferMarshaller
- All Implemented Interfaces:
ByteBufferMarshaller,Marshallability,Marshaller<Object,ByteBuffer>
A
ByteBufferMarshaller based on Java serialization.- Author:
- Paul Ferraro
-
Field Summary
Fields inherited from interface org.wildfly.clustering.marshalling.ByteBufferMarshaller
LOGGERFields inherited from interface org.wildfly.clustering.marshalling.Marshallability
TRUE -
Constructor Summary
ConstructorsConstructorDescriptionJavaByteBufferMarshaller(ClassLoader loader) JavaByteBufferMarshaller(Serializer<ClassLoader> classLoaderSerializer) -
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.ByteBufferMarshaller
read, size, write
-
Constructor Details
-
JavaByteBufferMarshaller
-
JavaByteBufferMarshaller
-
-
Method Details
-
isMarshallable
- Specified by:
isMarshallablein interfaceMarshallability
-
readFrom
- Specified by:
readFromin interfaceByteBufferMarshaller- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceByteBufferMarshaller- Throws:
IOException
-