Package org.infinispan.commons.marshall
package org.infinispan.commons.marshall
Provides Infinispan-specific input and output streams, buffers and related utilities.
- Public API
-
ClassDescriptionAbstract Marshaller implementation containing shared implementations.The
BufferSizePredictor
that automatically increases and decreases the predicted buffer size on feed back.Buffer size predictorClass that extendsInputStream
and implementsObjectInput
.Class that extendsOutputStream
and implementsObjectOutput
.A marshaller that does not transform the content, only applicable to byte[] payloads.A ProtoStreamMarshaller
implementation that uses Protobuf encoding.Standard Java serialization marshaller.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.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!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.A minimal interface that facilitates the marshalling/unmarshalling of objects from the providedInputStream
/OutputStream
.Interface used to initialise aSerializationContext
using the specified Pojos, Marshaller implementations and provided .proto schemas.WARNING: Generated code!Value matcher mode.Simple wrapper around a byte[] to provide equals and hashCode semanticsWARNING: Generated code!Interface that describes and object holding onto some bytes