Package com.tangosol.io.pof
Class ConfigurablePofContext.PofConfig
- java.lang.Object
-
- com.tangosol.io.pof.ConfigurablePofContext.PofConfig
-
- Enclosing class:
- ConfigurablePofContext
protected static class ConfigurablePofContext.PofConfig extends Object
The information related to the configuration of a particular PofContext for a specific URI and ClassLoader.
-
-
Field Summary
Fields Modifier and Type Field Description WeakReference[]
m_aClzByTypeId
An array of WeakReferences to user type classes, indexed by type identifier.PofSerializer[]
m_aSerByTypeId
An array of PofSerializer objects, indexed by type identifier.boolean
m_fEnableConfigDiscovery
A flag to enable POF config discovery.boolean
m_fEnableTypeDiscovery
True iff discovery of PortableTypes is enabled.boolean
m_fInterfaceAllowed
True iff an interface name is acceptable in the configuration as the class of a user type.boolean
m_fPreferJavaTime
True if Java 8 date/time types (java.time.*) should be preferred over legacy types.boolean
m_fReferenceEnabled
True iff POF Identity/Reference type support is enabled.boolean
m_fSubclassAllowed
True iff serialization of sub-classes is explicitly enabled.Map
m_mapClassNameByTypeId
Once initialized, this references a thread-safe Map that contains mappings from POF type identifiers (wrapped as Integer objects) to Java class names.Map<String,Integer>
m_mapPortableTypes
Discovered list of types that are annotated withPortableType
.Map
m_mapTypeIdByClass
Once initialized, this references a thread-safe Map that contains mappings from Java classes to POF type identifiers (wrapped as Integer objects).Map
m_mapTypeIdByClassName
Once initialized, this references a thread-safe Map that contains mappings from Java class names to POF type identifiers (wrapped as Integer objects).
-
Constructor Summary
Constructors Modifier Constructor Description protected
PofConfig()
-
-
-
Field Detail
-
m_mapTypeIdByClass
public Map m_mapTypeIdByClass
Once initialized, this references a thread-safe Map that contains mappings from Java classes to POF type identifiers (wrapped as Integer objects). The initial contents of the Map reflect the configuration, but the contents can increase over time as sub-classes of the contained classes are resolved to type IDs (and those mappings are added).
-
m_mapTypeIdByClassName
public Map m_mapTypeIdByClassName
Once initialized, this references a thread-safe Map that contains mappings from Java class names to POF type identifiers (wrapped as Integer objects). The initial contents of the Map reflect the configuration, but the contents can increase over time as the names of sub-classes (i.e. of the classes corresponding to the contained class names) are resolved to type IDs (and those mappings are added).
-
m_aClzByTypeId
public WeakReference[] m_aClzByTypeId
An array of WeakReferences to user type classes, indexed by type identifier.
-
m_aSerByTypeId
public PofSerializer[] m_aSerByTypeId
An array of PofSerializer objects, indexed by type identifier.
-
m_fInterfaceAllowed
public boolean m_fInterfaceAllowed
True iff an interface name is acceptable in the configuration as the class of a user type.
-
m_fSubclassAllowed
public boolean m_fSubclassAllowed
True iff serialization of sub-classes is explicitly enabled.
-
m_fReferenceEnabled
public boolean m_fReferenceEnabled
True iff POF Identity/Reference type support is enabled.
-
m_fPreferJavaTime
public boolean m_fPreferJavaTime
True if Java 8 date/time types (java.time.*) should be preferred over legacy types.
-
m_mapClassNameByTypeId
public Map m_mapClassNameByTypeId
Once initialized, this references a thread-safe Map that contains mappings from POF type identifiers (wrapped as Integer objects) to Java class names. The initial contents of the Map reflect the configuration, but the contents can increase over time as the names of sub-classes (i.e. of the classes corresponding to the contained class names) are resolved to type IDs (and those mappings are added).
-
m_mapPortableTypes
public Map<String,Integer> m_mapPortableTypes
Discovered list of types that are annotated withPortableType
.
-
m_fEnableTypeDiscovery
public boolean m_fEnableTypeDiscovery
True iff discovery of PortableTypes is enabled.
-
m_fEnableConfigDiscovery
public boolean m_fEnableConfigDiscovery
A flag to enable POF config discovery.
-
-