Class AbstractMapMarshaller<T extends Map<Object,​Object>>

    • Constructor Detail

      • AbstractMapMarshaller

        public AbstractMapMarshaller​(Class<? extends T> mapClass)
    • Method Detail

      • writeTo

        public void writeTo​(ProtoStreamWriter writer,
                            T map)
                     throws IOException
        Description copied from interface: Writable
        Writes the specified object to the specified writer.
        Specified by:
        writeTo in interface Writable<T extends Map<Object,​Object>>
        Parameters:
        writer - a ProtoStream writer
        map - the object to be written
        Throws:
        IOException - if the object could not be written
      • getJavaClass

        public Class<? extends T> getJavaClass()
        Description copied from interface: Marshallable
        Returns the type of object handled by this marshallable instance.
        Specified by:
        getJavaClass in interface org.infinispan.protostream.BaseMarshaller<T extends Map<Object,​Object>>
        Specified by:
        getJavaClass in interface Marshallable<T extends Map<Object,​Object>>
        Returns:
        the type of object handled by this marshallable instance.