Class WrappedMessageByteBufferMarshaller
java.lang.Object
org.wildfly.clustering.cache.infinispan.marshalling.protostream.WrappedMessageByteBufferMarshaller
- All Implemented Interfaces:
org.wildfly.clustering.marshalling.ByteBufferMarshaller,org.wildfly.clustering.marshalling.Marshallability,org.wildfly.clustering.marshalling.Marshaller<Object,ByteBuffer>
public class WrappedMessageByteBufferMarshaller
extends Object
implements org.wildfly.clustering.marshalling.ByteBufferMarshaller
A
ByteBufferMarshaller based on a ProtoStream WrappedMessage.- 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
ConstructorsConstructorDescriptionWrappedMessageByteBufferMarshaller(org.infinispan.protostream.ImmutableSerializationContext context) -
Method Summary
Modifier and TypeMethodDescriptionbooleanisMarshallable(Object object) readFrom(InputStream input) voidwriteTo(OutputStream output, 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, write
-
Constructor Details
-
WrappedMessageByteBufferMarshaller
-
WrappedMessageByteBufferMarshaller
public WrappedMessageByteBufferMarshaller(org.infinispan.protostream.ImmutableSerializationContext context)
-
-
Method Details
-
isMarshallable
- Specified by:
isMarshallablein interfaceorg.wildfly.clustering.marshalling.Marshallability
-
readFrom
- Specified by:
readFromin interfaceorg.wildfly.clustering.marshalling.ByteBufferMarshaller- Throws:
IOException
-
writeTo
- Specified by:
writeToin interfaceorg.wildfly.clustering.marshalling.ByteBufferMarshaller- Throws:
IOException
-
size
- Specified by:
sizein interfaceorg.wildfly.clustering.marshalling.ByteBufferMarshaller
-