Package com.hazelcast.config
Class CompactSerializationConfigAccessor
java.lang.Object
com.hazelcast.config.CompactSerializationConfigAccessor
An accessor for the package-private fields of the
 
CompactSerializationConfig.
 
 This is intended to be used while registering serializers and Compact
 serializable classes with 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.
 
 Also, it enables us to access registered classes using the programmatic API,
 without providing a public API on the CompactSerializationConfig.
- 
Method SummaryModifier and TypeMethodDescriptionReturns the list of Compact serializable class names.static Map<String,com.hazelcast.internal.util.TriTuple<Class, String, CompactSerializer>> Returns the map of the type names to programmatic registrations.Returns the list of Compact serializer class names.static voidregisterClass(CompactSerializationConfig config, String className) Registers a reflective compact serializer for the given class name.static voidregisterSerializer(CompactSerializationConfig config, String serializerClassName) Registers an explicit compact serializer for the given class and type name.
- 
Method Details- 
registerSerializerpublic static void registerSerializer(CompactSerializationConfig config, String serializerClassName) Registers an explicit compact serializer for the given class and type name.
- 
registerClassRegisters a reflective compact serializer for the given class name. The type name will be the same with the class name.
- 
getSerializerClassNamesReturns the list of Compact serializer class names.
- 
getCompactSerializableClassNamesReturns the list of Compact serializable class names.
- 
getRegistrationspublic static Map<String,com.hazelcast.internal.util.TriTuple<Class, getRegistrationsString, CompactSerializer>> (CompactSerializationConfig config) Returns the map of the type names to programmatic registrations.
 
-