Uses of Interface
org.infinispan.protostream.ImmutableSerializationContext
-
Packages that use ImmutableSerializationContext Package Description org.infinispan.commons.dataconversion org.infinispan.commons.marshall Provides Infinispan-specific input and output streams, buffers and related utilities.org.infinispan.protostream Library for easy and efficient marshalling of Java objects in Protocol Buffers format.org.infinispan.protostream.impl Protostream internals. -
-
Uses of ImmutableSerializationContext in org.infinispan.commons.dataconversion
Methods in org.infinispan.commons.dataconversion with parameters of type ImmutableSerializationContext Modifier and Type Method Description static byte[]StandardConversions. convertJavaToProtoStream(Object source, MediaType sourceMediaType, ImmutableSerializationContext ctx)Converts a java object to a sequence of bytes using a ProtoStreamImmutableSerializationContext. -
Uses of ImmutableSerializationContext in org.infinispan.commons.marshall
Fields in org.infinispan.commons.marshall declared as ImmutableSerializationContext Modifier and Type Field Description protected ImmutableSerializationContextImmutableProtoStreamMarshaller. serializationContextMethods in org.infinispan.commons.marshall that return ImmutableSerializationContext Modifier and Type Method Description ImmutableSerializationContextImmutableProtoStreamMarshaller. getSerializationContext()Constructors in org.infinispan.commons.marshall with parameters of type ImmutableSerializationContext Constructor Description ImmutableProtoStreamMarshaller(ImmutableSerializationContext serializationContext) -
Uses of ImmutableSerializationContext in org.infinispan.protostream
Subinterfaces of ImmutableSerializationContext in org.infinispan.protostream Modifier and Type Interface Description interfaceSerializationContextA repository for Protobuf type definitions and their marshallers.Methods in org.infinispan.protostream that return ImmutableSerializationContext Modifier and Type Method Description ImmutableSerializationContextMessageMarshaller.ProtoStreamReader. getSerializationContext()During reading, a marshaller can obtain the currentImmutableSerializationContextand use it in order to access the schema or marshaller information.ImmutableSerializationContextMessageMarshaller.ProtoStreamWriter. getSerializationContext()During reading, a marshaller can obtain the currentImmutableSerializationContextand use it in order to access the schema or marshaller information.ImmutableSerializationContextProtobufTagMarshaller.OperationContext. getSerializationContext()Provides access to theImmutableSerializationContext.Methods in org.infinispan.protostream with parameters of type ImmutableSerializationContext Modifier and Type Method Description static <A> intProtobufUtil. computeMessageSize(ImmutableSerializationContext ctx, A t)static <A> intProtobufUtil. computeWrappedMessageSize(ImmutableSerializationContext ctx, A t)static <A> AProtobufUtil. fromByteArray(ImmutableSerializationContext ctx, byte[] bytes, int offset, int length, Class<A> clazz)static <A> AProtobufUtil. fromByteArray(ImmutableSerializationContext ctx, byte[] bytes, Class<A> clazz)static <A> AProtobufUtil. fromByteBuffer(ImmutableSerializationContext ctx, ByteBuffer byteBuffer, Class<A> clazz)static byte[]ProtobufUtil. fromCanonicalJSON(ImmutableSerializationContext ctx, Reader reader)static <A> AProtobufUtil. fromWrappedByteArray(ImmutableSerializationContext ctx, byte[] bytes)Parses a top-level message that was wrapped according to the org.infinispan.protostream.WrappedMessage proto definition.static <A> AProtobufUtil. fromWrappedByteArray(ImmutableSerializationContext ctx, byte[] bytes, int offset, int length)static <A> AProtobufUtil. fromWrappedByteBuffer(ImmutableSerializationContext ctx, ByteBuffer byteBuffer)static <A> AProtobufUtil. fromWrappedStream(ImmutableSerializationContext ctx, InputStream in)default intWrappedMessageTypeIdMapper. mapTypeIdIn(int typeId, ImmutableSerializationContext ctx)Deprecated.Called during decoding.default intWrappedMessageTypeIdMapper. mapTypeIdOut(int typeId, ImmutableSerializationContext ctx)Deprecated.Called during encoding.static <A> AProtobufUtil. readFrom(ImmutableSerializationContext ctx, InputStream in, Class<A> clazz)TRawProtobufMarshaller. readFrom(ImmutableSerializationContext ctx, RawProtoStreamReader in)Deprecated.static byte[]ProtobufUtil. toByteArray(ImmutableSerializationContext ctx, Object t)static ByteBufferProtobufUtil. toByteBuffer(ImmutableSerializationContext ctx, Object t)static StringProtobufUtil. toCanonicalJSON(ImmutableSerializationContext ctx, byte[] bytes)Converts a Protobuf encoded message to its canonical JSON representation.static StringProtobufUtil. toCanonicalJSON(ImmutableSerializationContext ctx, byte[] bytes, boolean prettyPrint)Converts a Protobuf encoded message to its canonical JSON representation.static byte[]ProtobufUtil. toWrappedByteArray(ImmutableSerializationContext ctx, Object t)static byte[]ProtobufUtil. toWrappedByteArray(ImmutableSerializationContext ctx, Object t, int bufferSize)static ByteBufferProtobufUtil. toWrappedByteBuffer(ImmutableSerializationContext ctx, Object t)static voidProtobufUtil. toWrappedStream(ImmutableSerializationContext ctx, OutputStream out, Object t)static voidProtobufUtil. toWrappedStream(ImmutableSerializationContext ctx, OutputStream out, Object t, int bufferSize)static voidProtobufUtil. writeTo(ImmutableSerializationContext ctx, OutputStream out, Object t)voidRawProtobufMarshaller. writeTo(ImmutableSerializationContext ctx, RawProtoStreamWriter out, T t)Deprecated. -
Uses of ImmutableSerializationContext in org.infinispan.protostream.impl
Classes in org.infinispan.protostream.impl that implement ImmutableSerializationContext Modifier and Type Class Description classSerializationContextImpl
-