Class SimpleFunctionalMarshaller<T extends V,V>
java.lang.Object
org.wildfly.clustering.marshalling.protostream.FunctionalMarshaller<T,V>
org.wildfly.clustering.marshalling.protostream.SimpleFunctionalMarshaller<T,V>
- Type Parameters:
T- the type of this marshallerV- the type of the mapped marshaller
- All Implemented Interfaces:
org.infinispan.protostream.BaseMarshaller<T>,org.infinispan.protostream.ProtobufTagMarshaller<T>,Marshallable<T>,ProtoStreamMarshaller<T>,Readable<T>,Writable<T>
- Direct Known Subclasses:
ConcurrentMapMarshaller,ConcurrentSortedMapMarshaller,CopyOnWriteCollectionMarshaller,UnmodifiableCollectionMarshaller,UnmodifiableMapMarshaller
Functional marshaller whose marshalled type is a subclass of the mapped marshaller.
- Author:
- Paul Ferraro
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.infinispan.protostream.ProtobufTagMarshaller
org.infinispan.protostream.ProtobufTagMarshaller.OperationContext, org.infinispan.protostream.ProtobufTagMarshaller.ReadContext, org.infinispan.protostream.ProtobufTagMarshaller.WriteContext -
Constructor Summary
ConstructorsConstructorDescriptionSimpleFunctionalMarshaller(Class<T> targetClass, ProtoStreamMarshaller<V> marshaller, org.wildfly.common.function.ExceptionFunction<V, T, IOException> factory) -
Method Summary
Methods inherited from class org.wildfly.clustering.marshalling.protostream.FunctionalMarshaller
getJavaClass, readFrom, writeToMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.wildfly.clustering.marshalling.protostream.Marshallable
sizeMethods inherited from interface org.wildfly.clustering.marshalling.protostream.ProtoStreamMarshaller
getTypeName, read, write
-
Constructor Details
-
SimpleFunctionalMarshaller
public SimpleFunctionalMarshaller(Class<T> targetClass, ProtoStreamMarshaller<V> marshaller, org.wildfly.common.function.ExceptionFunction<V, T, IOException> factory)
-