Class SingletonCollectionMarshaller<T extends Collection<Object>>

java.lang.Object
org.wildfly.clustering.marshalling.protostream.FunctionalScalarMarshaller<T,Object>
org.wildfly.clustering.marshalling.protostream.util.SingletonCollectionMarshaller<T>
Type Parameters:
T - the collection type of this marshaller
All Implemented Interfaces:
org.infinispan.protostream.BaseMarshaller<T>, org.infinispan.protostream.ProtobufTagMarshaller<T>, Marshallable<T>, ProtoStreamMarshaller<T>, Readable<T>, Writable<T>

public class SingletonCollectionMarshaller<T extends Collection<Object>> extends FunctionalScalarMarshaller<T,Object>
Marshaller for singleton collections.
Author:
Paul Ferraro
  • Constructor Details

    • SingletonCollectionMarshaller

      public SingletonCollectionMarshaller(Function<Object,T> factory)