Class UserMarshaller

java.lang.Object
org.wildfly.clustering.cache.infinispan.marshalling.AbstractMarshaller
org.wildfly.clustering.cache.infinispan.marshalling.UserMarshaller
All Implemented Interfaces:
org.infinispan.commons.marshall.Marshaller, org.infinispan.commons.marshall.StreamAwareMarshaller

public class UserMarshaller extends AbstractMarshaller
A user marshaller that delegates marshalling to a ByteBufferMarshaller.
Author:
Paul Ferraro
  • Constructor Details

    • UserMarshaller

      public UserMarshaller(Supplier<org.infinispan.commons.dataconversion.MediaType> type, ByteBufferMarshaller marshaller)
      Creates a user marshaller based on the specified byte buffer marshaller.
      Parameters:
      type - provider of the marshaller media type
      marshaller - a byte buffer marshaller
    • UserMarshaller

      public UserMarshaller(org.infinispan.commons.dataconversion.MediaType type, ByteBufferMarshaller marshaller)
      Creates a user marshaller based on the specified byte buffer marshaller.
      Parameters:
      type - the marshaller media type
      marshaller - a byte buffer marshaller
  • Method Details