Package com.tangosol.io.pof
Class ConfigurablePofContext.PofConfig
java.lang.Object
com.tangosol.io.pof.ConfigurablePofContext.PofConfig
- Enclosing class:
ConfigurablePofContext
The information related to the configuration of a particular PofContext
for a specific URI and ClassLoader.
-
Field Summary
Modifier and TypeFieldDescriptionAn array of WeakReferences to user type classes, indexed by type identifier.An array of PofSerializer objects, indexed by type identifier.boolean
A flag to enable POF config discovery.boolean
True iff discovery of PortableTypes is enabled.boolean
True iff an interface name is acceptable in the configuration as the class of a user type.boolean
True if Java 8 date/time types (java.time.*) should be preferred over legacy types.boolean
True iff POF Identity/Reference type support is enabled.boolean
True iff serialization of sub-classes is explicitly enabled.Once initialized, this references a thread-safe Map that contains mappings from POF type identifiers (wrapped as Integer objects) to Java class names.Discovered list of types that are annotated withPortableType
.Once initialized, this references a thread-safe Map that contains mappings from Java classes to POF type identifiers (wrapped as Integer objects).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
-
Method Summary
-
Field Details
-
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
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
An array of WeakReferences to user type classes, indexed by type identifier. -
m_aSerByTypeId
An array of PofSerializer objects, indexed by type identifier. -
m_fInterfaceAllowed
public boolean m_fInterfaceAllowedTrue iff an interface name is acceptable in the configuration as the class of a user type. -
m_fSubclassAllowed
public boolean m_fSubclassAllowedTrue iff serialization of sub-classes is explicitly enabled. -
m_fReferenceEnabled
public boolean m_fReferenceEnabledTrue iff POF Identity/Reference type support is enabled. -
m_fPreferJavaTime
public boolean m_fPreferJavaTimeTrue if Java 8 date/time types (java.time.*) should be preferred over legacy types. -
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
Discovered list of types that are annotated withPortableType
. -
m_fEnableTypeDiscovery
public boolean m_fEnableTypeDiscoveryTrue iff discovery of PortableTypes is enabled. -
m_fEnableConfigDiscovery
public boolean m_fEnableConfigDiscoveryA flag to enable POF config discovery.
-
-
Constructor Details
-
PofConfig
protected PofConfig()
-