Interface ProtoStreamOperation

    • Method Detail

      • getSerializationContext

        org.infinispan.protostream.ImmutableSerializationContext getSerializationContext()
        Returns the serialization context of the associated marshaller.
        Returns:
        an immutable serialization context
      • findMarshaller

        default <T,​V extends T> ProtoStreamMarshaller<T> findMarshaller​(Class<V> javaClass)
        Returns a marshaller suitable of marshalling an object of the specified type.
        Type Parameters:
        T - the type of the associated marshaller
        V - the type of the object to be marshalled
        Parameters:
        javaClass - the type of the value to be written.
        Returns:
        a marshaller suitable for the specified type
        Throws:
        IllegalArgumentException - if no suitable marshaller exists