Package org.infinispan.commons.marshall
Provides Infinispan-specific input and output streams, buffers and related utilities.
- Public API
-
Interface Summary Interface Description AdvancedExternalizer<T> Deprecated. since 10.0, will be removed in a future release.BufferSizePredictor Buffer size predictorExternalizer<T> Deprecated. since 10.0, will be removed in a future release.Ids Internal marshalling identifiers.LambdaExternalizer<T> A lambdaAdvancedExternalizer
.Marshaller A marshaller is a class that is able to marshall and unmarshall objects efficiently.MarshallUtil.ArrayBuilder<E> MarshallUtil.CollectionBuilder<E,T extends Collection<E>> MarshallUtil.ElementReader<E> MarshallUtil.ElementWriter<E> MarshallUtil.EnumBuilder<E extends Enum<E>> MarshallUtil.MapBuilder<K,V,T extends Map<K,V>> MarshallUtil.UnboundedCollectionBuilder<E,T extends Collection<E>> PersistenceContextInitializer Interface used to initialise aSerializationContext
using the specified Pojos, Marshaller implementations and provided .proto schemas.ProtoStreamTypeIds TypeIds used by protostream in place of FQN message/enum names to reduce payload size.StreamAwareMarshaller A minimal interface that facilitates the marshalling/unmarshalling of objects from the providedInputStream
/OutputStream
.StreamingMarshaller Deprecated. for internal use onlyWrappedBytes Interface that describes and object holding onto some bytes -
Class Summary Class Description AbstractDelegatingMarshaller With the introduction of global and cache marshallers, there's a need to separate marshallers but still rely on the same marshalling backend as previously.AbstractExternalizer<T> Base class forAdvancedExternalizer
implementations that offers default implementations for some of its methods.AbstractMarshaller Abstract Marshaller implementation containing shared implementations.AdaptiveBufferSizePredictor TheBufferSizePredictor
that automatically increases and decreases the predicted buffer size on feed back.AdminFlagExternalizer CheckedInputStream DelegatingObjectInput Class that extendsInputStream
and implementsObjectInput
.DelegatingObjectOutput Class that extendsOutputStream
and implementsObjectOutput
.IdentityMarshaller A marshaller that does not transform the content, only applicable to byte[] payloads.InstanceReusingAdvancedExternalizer<T> An advanced externalizer that when implemented will allow for child instances that also extend this class to use object instances instead of serializing a brand new object.JavaSerializationMarshaller Standard Java serialization marshaller.MarshallableTypeHints Class providing hints about marshallable types, such as whether a particular type is marshallable or not, or an accurate approach to the serialized size of a particular type.MarshallUtil MarshallUtil.PersistenceContextInitializerImpl WARNING: Generated code! Do not edit!ProtoStreamMarshaller Provides the starting point for implementing aMarshaller
that uses Protobuf encoding.SingletonExternalizer<T> StringMarshaller SuppliedExternalizer<T> UTF8StringMarshaller WrappedByteArray Simple wrapper around a byte[] to provide equals and hashCode semanticsWrappedByteArray.Externalizer -
Enum Summary Enum Description ValueMatcherMode Value matcher mode. -
Exception Summary Exception Description MarshallingException An exception that can be thrown by a cache if an object cannot be successfully serialized/deserialized.NotSerializableException An exception that hides inner stacktrace lines for non serializable exceptions. -
Annotation Types Summary Annotation Type Description SerializeFunctionWith Indicate that this function should be serialized with an instance of the givenExternalizer
class.SerializeWith Deprecated. since 10.0, will be removed in a future release.