Uses of Interface
com.tangosol.io.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
Modifier 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
Modifier 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
.Modifier and TypeMethodDescriptionCacheRequestHolder.getCacheSerializer()
Obtain the cache'sSerializer
.RequestHolder.getSerializer()
Obtain the request'sSerializer
.RequestHolder.getServiceSerializer()
Obtain the cache'sSerializer
.Modifier 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.ModifierConstructorDescriptionCacheRequestHolder
(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
Modifier and TypeMethodDescriptionprotected Serializer
BaseGrpcServiceImpl.getSerializer
(String sFormatRequest, String sFormatProxy, Supplier<Serializer> supplierSerializer, Supplier<ClassLoader> supplierLoader) Modifier 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.Modifier 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
Modifier and TypeMethodDescriptionSerializerBuilderProcessor.onProcess
(ProcessingContext context, XmlElement xmlElement) -
Uses of Serializer in com.tangosol.coherence.jcache.common
ModifierConstructorDescriptionSerializingInternalConverter
(Serializer serializer) Constructs aSerializingInternalConverter
. -
Uses of Serializer in com.tangosol.io
Modifier 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.Modifier and TypeFieldDescriptionprotected final Serializer[]
MultiplexingSerializer.f_serializers
Modifier 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.Modifier 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
.Modifier 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.Modifier 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.ModifierConstructorDescriptionMultiplexingSerializer
(Serializer... serializers) Construct a newSerializer
that will multiplex serialization operations across the provided list ofSerializer
s. -
Uses of Serializer in com.tangosol.io.pof
Modifier and TypeInterfaceDescriptioninterface
The PofContext interface represents a set of user types that can be serialized to and deserialized from a POF stream.Modifier 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.ModifierConstructorDescriptionExternalSerializer
(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
Modifier 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
Modifier 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
Modifier 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
.ModifierConstructorDescriptionTopicPublisherException
(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
Modifier and TypeClassDescriptionstatic class
An implementation of PofContext that does nothing.Modifier 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.Modifier 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.