Uses of Interface
com.tangosol.io.Serializer
-
Packages that use Serializer Package Description com.oracle.coherence.cdi Coherence CDI provides support for CDI (Contexts and Dependency Injection) within Coherence cluster members.com.oracle.coherence.grpc Low-level utilities for Coherence gRPC server and client implementation.com.oracle.coherence.grpc.proxy The Coherence gRPC server implementation.com.tangosol.coherence.config.xml.processor Defines the Xml document Element and Attribute Processors for Coherence Cache Configuration files.com.tangosol.coherence.jcache.common Common utilities used by Coherence JCache.com.tangosol.io Contains classes providing cache persistence of serialized objects.com.tangosol.io.pof Contains classes related to POF serialization and deserialization.com.tangosol.net Contains basic cluster interfaces and factories.com.tangosol.net.cache Contains classes providing various caching strategies.com.tangosol.net.topic Contains classes that providing topic entities for publish/subscribe messaging.com.tangosol.util Contains various generic utilities. -
-
Uses of Serializer in com.oracle.coherence.cdi
Methods in com.oracle.coherence.cdi that return Serializer Modifier and Type Method Description Serializer
SerializerProducer. getDefaultSerializer(javax.enterprise.inject.spi.InjectionPoint ip)
Produces an instance of the defaultSerializer
.Serializer
SerializerProducer. getNamedSerializer(String sName, ClassLoader loader)
Produces instances of a namedSerializer
.Serializer
SerializerProducer. getNamedSerializer(javax.enterprise.inject.spi.InjectionPoint ip)
Produces instances of a namedSerializer
. -
Uses of Serializer in com.oracle.coherence.grpc
Fields in com.oracle.coherence.grpc declared as Serializer Modifier and Type Field Description protected Serializer
RequestHolder.DownConverter. f_serializer
TheSerializer
used to convert the originalBinary
into object form.protected Serializer
RequestHolder. f_serializer
TheSerializer
used by the request.protected Serializer
RequestHolder.UpConverter. f_serializerFrom
TheSerializer
used to convert theBinary
to object form.protected Serializer
RequestHolder.UpConverter. f_serializerTo
TheSerializer
used to convert the object to aBinary
.Methods in com.oracle.coherence.grpc that return Serializer Modifier and Type Method Description Serializer
CacheRequestHolder. getCacheSerializer()
Obtain the cache'sSerializer
.Serializer
RequestHolder. getSerializer()
Obtain the request'sSerializer
.Serializer
RequestHolder. getServiceSerializer()
Obtain the cache'sSerializer
.Methods in com.oracle.coherence.grpc with parameters of type Serializer Modifier and Type Method Description static <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.static com.google.protobuf.ByteString
BinaryHelper. toKeyByteString(Binary bin, Object obj, Serializer serializer)
Constructors in com.oracle.coherence.grpc with parameters of type Serializer Constructor Description CacheRequestHolder(Req request, AsyncNamedCache<Binary,Binary> cache, Supplier<NamedCache<?,?>> cacheSupplier, String sFormat, Serializer serializer, Executor executor)
Create aCacheRequestHolder
.DownConverter(Serializer serializer, Converter<Object,Binary> converter)
RequestHolder(Req request, String sFormat, Serializer serializer, Service service, Executor executor)
Create aRequestHolder
.UpConverter(Serializer serializerFrom, Serializer serializerTo)
-
Uses of Serializer in com.oracle.coherence.grpc.proxy
Methods in com.oracle.coherence.grpc.proxy that return Serializer Modifier and Type Method Description protected Serializer
BaseGrpcServiceImpl. getSerializer(String sFormatRequest, String sFormatProxy, Supplier<Serializer> supplierSerializer, Supplier<ClassLoader> supplierLoader)
Methods in com.oracle.coherence.grpc.proxy with parameters of type Serializer Modifier and Type Method Description <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 Serializer Modifier and Type Method Description protected 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 Serializer Modifier and Type Method Description ParameterizedBuilder<Serializer>
SerializerBuilderProcessor. 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 Serializer Constructor Description SerializingInternalConverter(Serializer serializer)
Constructs aSerializingInternalConverter
. -
Uses of Serializer in com.tangosol.io
Classes in com.tangosol.io that implement Serializer Modifier and Type Class Description class
DefaultSerializer
A Serializer implementation that uses the ExternalizableHelper implementation for serialization and deserialization of objects.class
MultiplexingSerializer
ASerializer
implementation that multiplexes serialization/deserialization requests across multipleSerializer
implementations.Fields in com.tangosol.io declared as Serializer Modifier and Type Field Description protected Serializer[]
MultiplexingSerializer. f_serializers
Fields in com.tangosol.io with type parameters of type Serializer Modifier and Type Field Description protected Map<String,Serializer>
MultiplexingSerializer. f_idToSerializer
The mapping ofSerializer
s keyed by their name.protected 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 Serializer Modifier and Type Method Description Serializer
ConfigurableSerializerFactory. createSerializer(ClassLoader loader)
Deprecated.Create a new Serializer.Serializer
SerializerFactory. createSerializer(ClassLoader loader)
Create a new Serializer.Serializer
SerializerAware. getContextSerializer()
Retrieve the context Serializer for this object.Serializer
NamedSerializerFactory. getNamedSerializer(String sName, ClassLoader loader)
Produces instances of a namedSerializer
.Methods in com.tangosol.io with parameters of type Serializer Modifier and Type Method Description protected 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 Serializer Modifier and Type Method Description protected 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 Serializer Constructor Description MultiplexingSerializer(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.pof Modifier and Type Interface Description interface
PofContext
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 Serializer Modifier and Type Class Description class
ConfigurablePofContext
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
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
SimplePofContext
BasicPofContext
implementation.Constructors in com.tangosol.io.pof with parameters of type Serializer Constructor Description ExternalSerializer(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 Serializer Modifier and Type Method Description Serializer
Service. getSerializer()
Return a Serializer used by this Service.Serializer
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 Serializer Modifier and Type Method Description Serializer
BackingMapBinaryEntry. 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 Serializer Modifier and Type Method Description static 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 Serializer Constructor Description TopicPublisherException(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 Serializer Modifier and Type Class Description static class
NullImplementation.NullPofContext
An implementation of PofContext that does nothing.Methods in com.tangosol.util that return Serializer Modifier and Type Method Description static Serializer
ExternalizableHelper. ensureSerializer(ClassLoader loader)
Obtain a Serializer for the specified ClassLoader.Serializer
BinaryEntry. getSerializer()
Return aSerializer
that is used to serialize/deserialize this entry.Serializer
ConverterCollections.ConverterMapEvent.ConverterMapEventBinaryEntry. getSerializer()
Return aSerializer
that is used to serialize/deserialize this entry.Serializer
InvocableMapHelper.RoutingBinaryEntry. getSerializer()
Return aSerializer
that is used to serialize/deserialize this entry.Methods in com.tangosol.util with parameters of type Serializer Modifier and Type Method Description static <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.
-