Package org.infinispan.commons.marshall
Provides Infinispan-specific input and output streams, buffers and related utilities.
-
Interface Summary Interface Description AdvancedExternalizer<T> AdvancedExternalizer
provides an alternative way to provide externalizers for marshalling/unmarshalling user defined classes that overcome the deficiencies of the more user-friendly externalizer definition model explained inExternalizer
.BufferSizePredictor Buffer size predictorExternalizer<T> One of the key aspects of Infinispan is that it often needs to marshall or unmarshall objects in order to provide some of its functionality.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>> StreamingMarshaller A specialization ofMarshaller
that supports streams.WrappedBytes 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.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 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 Indicate that this class should be serialized with an instance of the givenExternalizer
class.