Class CommandDispatcherMarshaller<C,MC>
java.lang.Object
org.wildfly.clustering.server.infinispan.dispatcher.CommandDispatcherMarshaller<C,MC>
- All Implemented Interfaces:
CommandMarshaller<C>
- Author:
- Paul Ferraro
-
Constructor Summary
ConstructorsConstructorDescriptionCommandDispatcherMarshaller(ByteBufferMarshaller marshaller, Object id, MarshalledValueFactory<MC> factory) -
Method Summary
-
Constructor Details
-
CommandDispatcherMarshaller
public CommandDispatcherMarshaller(ByteBufferMarshaller marshaller, Object id, MarshalledValueFactory<MC> factory)
-
-
Method Details
-
marshal
Description copied from interface:CommandMarshallerMarshals the specified command to a byte[].- Specified by:
marshalin interfaceCommandMarshaller<C>- Parameters:
command- a command- Returns:
- a serialized command.
- Throws:
IOException- if marshalling fails.
-