Package org.infinispan.commons.marshall
package org.infinispan.commons.marshall
Provides Infinispan-specific input and output streams, buffers and related utilities.
- Public API
-
ClassDescriptionBase class for
AdvancedExternalizer
implementations that offers default implementations for some of its methods.Abstract Marshaller implementation containing shared implementations.TheBufferSizePredictor
that automatically increases and decreases the predicted buffer size on feed back.Deprecated, for removal: This API element is subject to removal in a future version.since 10.0, will be removed in a future release.Buffer size predictorClass that extendsInputStream
and implementsObjectInput
.Class that extendsOutputStream
and implementsObjectOutput
.Externalizer<T>Deprecated, for removal: This API element is subject to removal in a future version.since 10.0, will be removed in a future release.A marshaller that does not transform the content, only applicable to byte[] payloads.Internal marshalling identifiers.A ProtoStreamMarshaller
implementation that uses Protobuf encoding.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.Standard Java serialization marshaller.A lambdaAdvancedExternalizer
.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.A marshaller is a class that is able to marshall and unmarshall objects efficiently.An exception that can be thrown by a cache if an object cannot be successfully serialized/deserialized.MarshallUtil.MarshallUtil.CollectionBuilder<E,T extends Collection<E>> MarshallUtil.EnumBuilder<E extends Enum<E>>MarshallUtil.MapBuilder<K,V, T extends Map<K, V>> MarshallUtil.UnboundedCollectionBuilder<E,T extends Collection<E>> An exception that hides inner stacktrace lines for non serializable exceptions.Interface used to initialise aSerializationContext
using the specified Pojos, Marshaller implementations and provided .proto schemas.WARNING: Generated code! Do not edit!Provides the starting point for implementing aMarshaller
that uses Protobuf encoding.TypeIds used by protostream in place of FQN message/enum names to reduce payload size.Indicate that this function should be serialized with an instance of the givenExternalizer
class.Deprecated, for removal: This API element is subject to removal in a future version.since 10.0, will be removed in a future release.A minimal interface that facilitates the marshalling/unmarshalling of objects from the providedInputStream
/OutputStream
.Deprecated, for removal: This API element is subject to removal in a future version.for internal use onlyInterface used to initialise aSerializationContext
using the specified Pojos, Marshaller implementations and provided .proto schemas.WARNING: Generated code! Do not edit!Value matcher mode.Simple wrapper around a byte[] to provide equals and hashCode semanticsWARNING: Generated code! Do not edit!Interface that describes and object holding onto some bytes