@Beta @PrivateApi public final class CompactSerializationConfigAccessor extends Object
CompactSerializationConfig
.
This is intended to be used while registering explicit and reflective serializers
via declarative configuration. This kind of accessor is necessary as the register
methods on the CompactSerializationConfig
accepts concrete Class
or CompactSerializer
instances
rather than the string representation of the fully qualified class names.Modifier and Type | Method and Description |
---|---|
static Map<String,com.hazelcast.internal.util.TriTuple<String,String,String>> |
getNamedRegistries(CompactSerializationConfig compactSerializationConfig)
Returns the map of type names to config registrations.
|
static void |
registerExplicitSerializer(CompactSerializationConfig compactSerializationConfig,
String className,
String typeName,
String serializerClassName)
Registers an explicit compact serializer for the given class and type name.
|
static void |
registerReflectiveSerializer(CompactSerializationConfig compactSerializationConfig,
String className)
Registers a reflective compact serializer for the given class name.
|
public static void registerExplicitSerializer(CompactSerializationConfig compactSerializationConfig, String className, String typeName, String serializerClassName)
public static void registerReflectiveSerializer(CompactSerializationConfig compactSerializationConfig, String className)
Copyright © 2021 Hazelcast, Inc.. All rights reserved.