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 Details

    • 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 with PortableType.
    • 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.
  • Constructor Details

    • PofConfig

      protected PofConfig()