Uses of Interface
com.tangosol.io.Serializer
Packages that use Serializer
Package
Description
Coherence CDI provides support for CDI (Contexts and Dependency Injection)
within Coherence cluster members.
Low-level utilities for Coherence gRPC server and client implementation.
The Coherence gRPC server implementation.
Defines the Xml document Element and Attribute Processors for Coherence Cache
Configuration files.
Common utilities used by Coherence JCache.
Contains classes providing cache persistence of serialized objects.
Contains classes related to POF serialization and deserialization.
Contains basic cluster interfaces and factories.
Contains classes providing various caching strategies.
Contains classes that providing topic entities for publish/subscribe messaging.
Contains various generic utilities.
-
Uses of Serializer in com.oracle.coherence.cdi
Methods in com.oracle.coherence.cdi that return SerializerModifier and TypeMethodDescriptionSerializerProducer.getDefaultSerializer
(jakarta.enterprise.inject.spi.InjectionPoint ip) Produces an instance of the defaultSerializer
.SerializerProducer.getNamedSerializer
(jakarta.enterprise.inject.spi.InjectionPoint ip) Produces instances of a namedSerializer
.SerializerProducer.getNamedSerializer
(String sName, ClassLoader loader) Produces instances of a namedSerializer
. -
Uses of Serializer in com.oracle.coherence.grpc
Fields in com.oracle.coherence.grpc declared as SerializerModifier and TypeFieldDescriptionprotected final Serializer
RequestHolder.DownConverter.f_serializer
TheSerializer
used to convert the originalBinary
into object form.protected final Serializer
RequestHolder.f_serializer
TheSerializer
used by the request.protected final Serializer
RequestHolder.UpConverter.f_serializerFrom
TheSerializer
used to convert theBinary
to object form.protected final Serializer
RequestHolder.UpConverter.f_serializerTo
TheSerializer
used to convert the object to aBinary
.Methods in com.oracle.coherence.grpc that return SerializerModifier and TypeMethodDescriptionCacheRequestHolder.getCacheSerializer()
Obtain the cache'sSerializer
.RequestHolder.getSerializer()
Obtain the request'sSerializer
.RequestHolder.getServiceSerializer()
Obtain the cache'sSerializer
.Methods in com.oracle.coherence.grpc with parameters of type SerializerModifier and TypeMethodDescriptionstatic <T> T
BinaryHelper.fromBinary
(Binary binary, Serializer serializer) Deserialize a serializedBinary
.static <T> T
BinaryHelper.fromByteString
(com.google.protobuf.ByteString bytes, Serializer serializer) A utility method to deserialize aByteString
to an Object.static <T> T
BinaryHelper.fromBytesValue
(com.google.protobuf.BytesValue bytes, Serializer serializer) A utility method to deserialize aBytesValue
to an Object.static com.google.protobuf.ByteString
BinaryHelper.toByteString
(Object value, Serializer serializer) Serialize the specified value to aByteString
.static com.google.protobuf.BytesValue
BinaryHelper.toBytesValue
(Object value, Serializer serializer) Serialize the specified value to aBytesValue
.static com.oracle.coherence.grpc.Entry
BinaryHelper.toEntry
(Map.Entry<?, ?> entry, Serializer serializer) Create anEntry
from aMap.Entry
.static List
<com.oracle.coherence.grpc.Entry> BinaryHelper.toEntryList
(Map<?, ?> map, Serializer serializer) Create aMap
to a list ofEntry
instances.Constructors in com.oracle.coherence.grpc with parameters of type SerializerModifierConstructorDescriptionCacheRequestHolder
(Req request, AsyncNamedCache<Binary, Binary> cache, Supplier<NamedCache<?, ?>> cacheSupplier, String sFormat, Serializer serializer, Executor executor) Create aCacheRequestHolder
.protected
DownConverter
(Serializer serializer, Converter<Object, Binary> converter) RequestHolder
(Req request, String sFormat, Serializer serializer, Service service, Executor executor) Create aRequestHolder
.protected
UpConverter
(Serializer serializerFrom, Serializer serializerTo) -
Uses of Serializer in com.oracle.coherence.grpc.proxy
Methods in com.oracle.coherence.grpc.proxy that return SerializerModifier and TypeMethodDescriptionprotected Serializer
BaseGrpcServiceImpl.getSerializer
(String sFormatRequest, String sFormatProxy, Supplier<Serializer> supplierSerializer, Supplier<ClassLoader> supplierLoader) Methods in com.oracle.coherence.grpc.proxy with parameters of type SerializerModifier and TypeMethodDescription<T> Comparator
<T> NamedCacheServiceImpl.deserializeComparator
(com.google.protobuf.ByteString bytes, Serializer serializer) Obtain aComparator
from the serialized data in aByteString
.<T> Filter
<T> NamedCacheService.ensureFilter
(com.google.protobuf.ByteString bytes, Serializer serializer) Obtain aFilter
from the serialized data in aByteString
.<T> Filter
<T> NamedCacheServiceImpl.ensureFilter
(com.google.protobuf.ByteString bytes, Serializer serializer) Obtain aFilter
from the serialized data in aByteString
.ValueExtractor
<?, ?> NamedCacheServiceImpl.ensureValueExtractor
(com.google.protobuf.ByteString bytes, Serializer serializer) Obtain aValueExtractor
from the serialized data in aByteString
.<T> Filter
<T> NamedCacheService.getFilter
(com.google.protobuf.ByteString bytes, Serializer serializer) Obtain aFilter
from the serialized data in aByteString
.<T> Filter
<T> NamedCacheServiceImpl.getFilter
(com.google.protobuf.ByteString bytes, Serializer serializer) Obtain aFilter
from the serialized data in aByteString
.protected com.google.protobuf.BoolValue
NamedCacheServiceImpl.toBoolValue
(Binary binary, Serializer serializer) Deserialize aBinary
to a boolean value.Method parameters in com.oracle.coherence.grpc.proxy with type arguments of type SerializerModifier and TypeMethodDescriptionprotected Serializer
BaseGrpcServiceImpl.getSerializer
(String sFormatRequest, String sFormatProxy, Supplier<Serializer> supplierSerializer, Supplier<ClassLoader> supplierLoader) -
Uses of Serializer in com.tangosol.coherence.config.xml.processor
Methods in com.tangosol.coherence.config.xml.processor that return types with arguments of type SerializerModifier and TypeMethodDescriptionSerializerBuilderProcessor.onProcess
(ProcessingContext context, XmlElement xmlElement) -
Uses of Serializer in com.tangosol.coherence.jcache.common
Constructors in com.tangosol.coherence.jcache.common with parameters of type SerializerModifierConstructorDescriptionSerializingInternalConverter
(Serializer serializer) Constructs aSerializingInternalConverter
. -
Uses of Serializer in com.tangosol.io
Classes in com.tangosol.io that implement SerializerModifier and TypeClassDescriptionfinal class
A Serializer implementation that uses the ExternalizableHelper implementation for serialization and deserialization of objects.class
ASerializer
implementation that multiplexes serialization/deserialization requests across multipleSerializer
implementations.Fields in com.tangosol.io declared as SerializerModifier and TypeFieldDescriptionprotected final Serializer[]
MultiplexingSerializer.f_serializers
Fields in com.tangosol.io with type parameters of type SerializerModifier and TypeFieldDescriptionprotected final Map
<String, Serializer> MultiplexingSerializer.f_idToSerializer
The mapping ofSerializer
s keyed by their name.protected final ConcurrentMap
<String, Serializer> MultiplexingSerializer.f_mapTypeToSerializer
The mapping of types referenced by their String name and a workingSerializer
for that type.Methods in com.tangosol.io that return SerializerModifier and TypeMethodDescriptionConfigurableSerializerFactory.createSerializer
(ClassLoader loader) Deprecated.Create a new Serializer.SerializerFactory.createSerializer
(ClassLoader loader) Create a new Serializer.SerializerAware.getContextSerializer()
Retrieve the context Serializer for this object.NamedSerializerFactory.getNamedSerializer
(String sName, ClassLoader loader) Produces instances of a namedSerializer
.Methods in com.tangosol.io with parameters of type SerializerModifier and TypeMethodDescriptionprotected void
MultiplexingSerializer.doSerialization
(WriteBuffer.BufferOutput out, Object o, Serializer[] serializers) protected void
MultiplexingSerializer.doWrite
(WriteBuffer.BufferOutput out, Object o, Serializer serializer) Writes the serialization header and payload.void
SerializerAware.setContextSerializer
(Serializer serializer) Specify the context Serializer for this object.Method parameters in com.tangosol.io with type arguments of type SerializerModifier and TypeMethodDescriptionprotected void
MultiplexingSerializer.logSerializationErrors
(Map<Serializer, Exception> serializerExceptionMap, String typeName) Given the provided mappings between aSerializer
and theException
it threw, log each mapping for diagnostic purposes.Constructors in com.tangosol.io with parameters of type SerializerModifierConstructorDescriptionMultiplexingSerializer
(Serializer... serializers) Construct a newSerializer
that will multiplex serialization operations across the provided list ofSerializer
s. -
Uses of Serializer in com.tangosol.io.pof
Subinterfaces of Serializer in com.tangosol.io.pofModifier and TypeInterfaceDescriptioninterface
The PofContext interface represents a set of user types that can be serialized to and deserialized from a POF stream.Classes in com.tangosol.io.pof that implement SerializerModifier and TypeClassDescriptionclass
This class implements thePofContext
interface using information provided in a configuration file (or in a passed XML configuration) as well as classes annotated withPortableType
.class
SafeConfigurablePofContext is an extension of ConfigurablePofContext that can serialize and deserialize any valid POF user type, even those that have not been explicitly configured, as well as any Java serializable types (Serializable, Externalizable, or ExternalizableLite).class
BasicPofContext
implementation.Constructors in com.tangosol.io.pof with parameters of type SerializerModifierConstructorDescriptionExternalSerializer
(Serializer serializer, boolean fWarn) ConstructSafeConfigurablePofContext.ExternalSerializer
with specified non-POF serializer.SafeConfigurablePofContext
(Serializer serializer, ClassLoader loader) Create a SafeConfigurablePofContext that serializes instances of non-POF classes with specified serializer. -
Uses of Serializer in com.tangosol.net
Methods in com.tangosol.net that return SerializerModifier and TypeMethodDescriptionService.getSerializer()
Return a Serializer used by this Service.WrapperService.getSerializer()
Return a Serializer used by this Service. -
Uses of Serializer in com.tangosol.net.cache
Methods in com.tangosol.net.cache that return SerializerModifier and TypeMethodDescriptionBackingMapBinaryEntry.getSerializer()
Return aSerializer
that is used to serialize/deserialize this entry.protected Serializer
ContinuousQueryCache.instantiateSerializer()
Create aSerializer
appropriate for the mode this cache is operating under (i.e., binary vs non-binary). -
Uses of Serializer in com.tangosol.net.topic
Methods in com.tangosol.net.topic with parameters of type SerializerModifier and TypeMethodDescriptionstatic BiFunction
<Throwable, Binary, Throwable> TopicPublisherException.createFactory
(Serializer serializer) Create a factory function that creates aTopicPublisherException
.static BiFunction
<Throwable, Binary, Throwable> TopicPublisherException.createFactory
(Serializer serializer, String sReason) Create a factory function that creates aTopicPublisherException
.Constructors in com.tangosol.net.topic with parameters of type SerializerModifierConstructorDescriptionTopicPublisherException
(String sMessage, Binary binValue, Serializer serializer) Create aTopicPublisherException
.TopicPublisherException
(String sMessage, Throwable cause, Binary binValue, Serializer serializer) Create aTopicPublisherException
.TopicPublisherException
(Throwable cause, Binary binValue, Serializer serializer) Create aTopicPublisherException
. -
Uses of Serializer in com.tangosol.util
Classes in com.tangosol.util that implement SerializerModifier and TypeClassDescriptionstatic class
An implementation of PofContext that does nothing.Methods in com.tangosol.util that return SerializerModifier and TypeMethodDescriptionstatic Serializer
ExternalizableHelper.ensureSerializer
(ClassLoader loader) Obtain a Serializer for the specified ClassLoader.BinaryEntry.getSerializer()
Return aSerializer
that is used to serialize/deserialize this entry.ConverterCollections.ConverterMapEvent.ConverterMapEventBinaryEntry.getSerializer()
Return aSerializer
that is used to serialize/deserialize this entry.InvocableMapHelper.RoutingBinaryEntry.getSerializer()
Return aSerializer
that is used to serialize/deserialize this entry.Methods in com.tangosol.util with parameters of type SerializerModifier and TypeMethodDescriptionstatic <T> T
ExternalizableHelper.fromBinary
(Binary bin, Serializer serializer) Read an object from a Binary object using the specified Serializer.static <T> T
ExternalizableHelper.fromBinary
(Binary bin, Serializer serializer, Remote.Function<ReadBuffer.BufferInput, ReadBuffer.BufferInput> supplier) Read an object from a Binary object using the specified Serializer.static <T> T
ExternalizableHelper.fromBinary
(Binary bin, Serializer serializer, Remote.Function<ReadBuffer.BufferInput, ReadBuffer.BufferInput> supplier, Class<T> clazz) Read an object from a Binary object using the specified Serializer and expected class.static <T> T
ExternalizableHelper.fromBinary
(Binary bin, Serializer serializer, Class<T> clazz) Read an object from a Binary object using the specified Serializer and expected class.static DeltaCompressor
ExternalizableHelper.getDeltaCompressor
(Serializer serializer, DeltaCompressor compressor) Return a DeltaCompressor suitable for compressing/extracting binaries produced by ExternalizableHelper using the specified serializer.static boolean
ExternalizableHelper.isSerializerCompatible
(Serializer serializerThis, Serializer serializerThat) Determines whether or not the specified serializers are compatible.static <T> T
ExternalizableHelper.realize
(Object o, Serializer serializer) Realizes object after deserialization by applying post-serialization rules.static void
ExternalizableHelper.reportIncompatibleSerializers
(NamedCache cache, String sService, Serializer serializer) Log the message explaining the serializer incompatibility between the specified cache and a service.static Binary
ExternalizableHelper.toBinary
(Object o, Serializer serializer) Write an object into a Binary object using the specified Serializer.static Binary
ExternalizableHelper.toBinary
(Object o, Serializer serializer, WriteBuffer buf) Write an object into a Binary object using the specified Serializer.static byte[]
ExternalizableHelper.toByteArray
(Object o, Serializer serializer) Write an object to a byte array using the specified Serializer.